class BankAccountCreated(events.Event): __empty_stream__ = True id = events.CUIDField(primary_key=True) owner = events.CharField()
class MyObjectCreated(events.Event): id = events.CUIDField(primary_key=True) owner = events.CharField()
class OwnerChanged(events.Event): __dependencies__ = ["BankAccountCreated"] new_owner = events.CharField()