From e34371bbc5fc77423ff625db71240aae0dc0b36f Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Wed, 10 Feb 2021 10:41:24 +0100 Subject: [PATCH] Drop Transferred action --- ereuse_devicehub/resources/action/__init__.py | 5 ----- ereuse_devicehub/resources/action/models.py | 5 ----- ereuse_devicehub/resources/action/models.pyi | 4 ---- ereuse_devicehub/resources/action/schemas.py | 4 ---- 4 files changed, 18 deletions(-) diff --git a/ereuse_devicehub/resources/action/__init__.py b/ereuse_devicehub/resources/action/__init__.py index 6367a28e..7fd91eb8 100644 --- a/ereuse_devicehub/resources/action/__init__.py +++ b/ereuse_devicehub/resources/action/__init__.py @@ -273,8 +273,3 @@ class MigrateToDef(ActionDef): class MigrateFromDef(ActionDef): VIEW = None SCHEMA = schemas.MigrateFrom - - -class TransferredDef(ActionDef): - VIEW = None - SCHEMA = schemas.Transferred diff --git a/ereuse_devicehub/resources/action/models.py b/ereuse_devicehub/resources/action/models.py index 4f771ed6..53116a5c 100644 --- a/ereuse_devicehub/resources/action/models.py +++ b/ereuse_devicehub/resources/action/models.py @@ -1628,8 +1628,3 @@ def update_parent(target: Union[EraseBasic, Test, Install], device: Device, _, _ class InvalidRangeForPrice(ValueError): pass - - -class Transferred(ActionWithMultipleDevices): - """Transferred through blockchain.""" - pass diff --git a/ereuse_devicehub/resources/action/models.pyi b/ereuse_devicehub/resources/action/models.pyi index 5082702d..a9cf8bea 100644 --- a/ereuse_devicehub/resources/action/models.pyi +++ b/ereuse_devicehub/resources/action/models.pyi @@ -534,7 +534,3 @@ class MigrateTo(Migrate): class MigrateFrom(Migrate): pass - - -class Transferred(ActionWithMultipleDevices): - pass diff --git a/ereuse_devicehub/resources/action/schemas.py b/ereuse_devicehub/resources/action/schemas.py index fcc3e767..d80dc3cf 100644 --- a/ereuse_devicehub/resources/action/schemas.py +++ b/ereuse_devicehub/resources/action/schemas.py @@ -511,7 +511,3 @@ class MigrateTo(Migrate): class MigrateFrom(Migrate): __doc__ = m.MigrateFrom.__doc__ - - -class Transferred(ActionWithMultipleDevices): - __doc__ = m.Transferred.__doc__