Adds Transferred event
This commit is contained in:
parent
726c520440
commit
769fb5cce3
|
@ -266,3 +266,7 @@ class MigrateToDef(ActionDef):
|
||||||
class MigrateFromDef(ActionDef):
|
class MigrateFromDef(ActionDef):
|
||||||
VIEW = None
|
VIEW = None
|
||||||
SCHEMA = schemas.MigrateFrom
|
SCHEMA = schemas.MigrateFrom
|
||||||
|
|
||||||
|
class TransferredDef(ActionDef):
|
||||||
|
VIEW = None
|
||||||
|
SCHEMA = schemas.Transferred
|
|
@ -1550,3 +1550,7 @@ def update_parent(target: Union[EraseBasic, Test, Install], device: Device, _, _
|
||||||
|
|
||||||
class InvalidRangeForPrice(ValueError):
|
class InvalidRangeForPrice(ValueError):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
class Transferred(ActionWithMultipleDevices):
|
||||||
|
"""Transferred through blockchain."""
|
||||||
|
pass
|
|
@ -551,3 +551,6 @@ class MigrateTo(Migrate):
|
||||||
|
|
||||||
class MigrateFrom(Migrate):
|
class MigrateFrom(Migrate):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
class Transferred(ActionWithMultipleDevices):
|
||||||
|
pass
|
||||||
|
|
|
@ -453,3 +453,9 @@ class MigrateTo(Migrate):
|
||||||
|
|
||||||
class MigrateFrom(Migrate):
|
class MigrateFrom(Migrate):
|
||||||
__doc__ = m.MigrateFrom.__doc__
|
__doc__ = m.MigrateFrom.__doc__
|
||||||
|
|
||||||
|
|
||||||
|
class Transferred(ActionWithMultipleDevices):
|
||||||
|
__doc__ = m.Transferred.__doc__
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in New Issue