from ApiControllers.abstracts.event_clusters import EventCluster, RouterCluster from .supers_events import ( BuildLivingSpaceListEvent, BuildLivingSpaceCreateEvent, BuildLivingSpaceUpdateEvent, ) BuildLivingSpaceRouterCluster = RouterCluster(name="BuildLivingSpaceRouterCluster") BuildLivingSpaceEventClusterList = EventCluster( name="BuildLivingSpaceList", endpoint_uu_id="ad17c019-3050-4c41-ab6f-9ce43290e81a" ) BuildLivingSpaceEventClusterList.add_event(BuildLivingSpaceListEvent) BuildLivingSpaceEventClusterCreate = EventCluster( name="BuildCreate", endpoint_uu_id="ed9a0303-14e2-46fe-bec0-d395c29801ff" ) BuildLivingSpaceEventClusterCreate.add_event(BuildLivingSpaceCreateEvent) BuildLivingSpaceEventClusterUpdate = EventCluster( name="BuildUpdate", endpoint_uu_id="c62bb3dc-03c0-406c-8bbc-0e1f75a6420c" ) BuildLivingSpaceEventClusterUpdate.add_event(BuildLivingSpaceUpdateEvent) BuildLivingSpaceRouterCluster.set_event_cluster(BuildLivingSpaceEventClusterList) BuildLivingSpaceRouterCluster.set_event_cluster(BuildLivingSpaceEventClusterCreate) BuildLivingSpaceRouterCluster.set_event_cluster(BuildLivingSpaceEventClusterUpdate)