def update_user_group(user_group_service: UserGroupService, user_group: UserGroup) -> None: user_group_service.update(user_group)
def get_user_group_service(user_service: UserService) -> UserGroupService: return UserGroupService(user_service.storage, user_service.snowflakeGenerator, user_service.principalService)
def get_user_group_service( principal_service: PrincipalService) -> UserGroupService: return UserGroupService(ask_meta_storage(), ask_snowflake_generator(), principal_service)
def get_user_group_service(space_service: SpaceService) -> UserGroupService: return UserGroupService(space_service.storage, space_service.snowflakeGenerator, space_service.principalService)
def get_user_group_service(indicator_service: IndicatorService) -> UserGroupService: return UserGroupService( indicator_service.storage, indicator_service.snowflakeGenerator, indicator_service.principalService)