mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-python
synced 2026-01-15 01:52:56 +01:00
- Add coding statement
- Import all modules in one line where possible
- Order: __future__, typing, plain imports, from imports,
janware modules
Signed-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()
|