mirror of
ssh://devgit.janware.com/janware/proj/jw-python
synced 2026-06-18 23:56:37 +02:00
- Add coding statement - Import all modules in one line where possible - Order: __future__, typing, plain imports, from imports, janware modulesSigned-off-by: Jan Lindemann <jan@janware.com>
22 lines
415 B
Python
22 lines
415 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
from abc import abstractmethod
|
|
|
|
from ..Process import Process as ProcessBase
|
|
from .Signals import Signals
|
|
|
|
class Process(ProcessBase): # export
|
|
|
|
__signals = Signals()
|
|
|
|
def __init__(self, aio):
|
|
super().__init()
|
|
self.aio = aio
|
|
|
|
@classmethod
|
|
@abstractmethod
|
|
def signals(cls):
|
|
return cls.__signals
|
|
|
|
def wait(self):
|
|
return self.aio.wait()
|