From cae6124cd5c59ffd3033b393b492a4ea5346db9c Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 27 Dec 2020 11:30:48 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Update=20=5F=5Fall=5F=5Fs=20of?= =?UTF-8?q?=20the=20engineer=20module?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- royalnet/engineer/discard.py | 5 +++++ royalnet/engineer/dispenser.py | 5 +++++ royalnet/engineer/exc.py | 12 ++++++++++++ royalnet/engineer/teleporter.py | 2 -- royalnet/engineer/wrench.py | 1 + 5 files changed, 23 insertions(+), 2 deletions(-) diff --git a/royalnet/engineer/discard.py b/royalnet/engineer/discard.py index e9167e62..39daaff0 100644 --- a/royalnet/engineer/discard.py +++ b/royalnet/engineer/discard.py @@ -11,3 +11,8 @@ class Discard(BaseException): def __str__(self): return f"Discarded {self.obj}: {self.message}" + + +__all__ = ( + "Discard", +) diff --git a/royalnet/engineer/dispenser.py b/royalnet/engineer/dispenser.py index d3413dd7..642d64c3 100644 --- a/royalnet/engineer/dispenser.py +++ b/royalnet/engineer/dispenser.py @@ -49,3 +49,8 @@ class Dispenser: while True: state = await state + + +__all__ = ( + "Dispenser", +) diff --git a/royalnet/engineer/exc.py b/royalnet/engineer/exc.py index ece28617..22e57a97 100644 --- a/royalnet/engineer/exc.py +++ b/royalnet/engineer/exc.py @@ -47,3 +47,15 @@ class NotSupportedError(BulletException, NotImplementedError): """ The requested property isn't available on the current frontend. """ + + +__all__ = ( + "EngineerException", + "WrenchException", + "DeliberateException", + "TeleporterError", + "InTeleporterError", + "OutTeleporterError", + "BulletException", + "NotSupportedError", +) diff --git a/royalnet/engineer/teleporter.py b/royalnet/engineer/teleporter.py index 68ce2eba..77eb57fb 100644 --- a/royalnet/engineer/teleporter.py +++ b/royalnet/engineer/teleporter.py @@ -188,7 +188,5 @@ def teleporter(__config__: t.Type[pydantic.BaseConfig] = TeleporterConfig, __all__ = ( "TeleporterConfig", - "parameter_to_field", - "signature_to_model", "teleporter", ) diff --git a/royalnet/engineer/wrench.py b/royalnet/engineer/wrench.py index b018e321..102594fb 100644 --- a/royalnet/engineer/wrench.py +++ b/royalnet/engineer/wrench.py @@ -303,4 +303,5 @@ __all__ = ( "RegexMatch", "RegexReplace", "Lambda", + "Check", )