sender baseclass
This commit is contained in:
parent
531ff8d3e0
commit
ef0e805223
0
pyinfra/server/sender/__init__.py
Normal file
0
pyinfra/server/sender/__init__.py
Normal file
9
pyinfra/server/sender/sender.py
Normal file
9
pyinfra/server/sender/sender.py
Normal file
@ -0,0 +1,9 @@
|
||||
import abc
|
||||
from typing import Iterable
|
||||
|
||||
|
||||
class Sender(abc.ABC):
|
||||
|
||||
@abc.abstractmethod
|
||||
def __call__(self, package: Iterable):
|
||||
pass
|
||||
0
pyinfra/server/sender/senders/__init__.py
Normal file
0
pyinfra/server/sender/senders/__init__.py
Normal file
Loading…
x
Reference in New Issue
Block a user