def setup_di(reset_di): # noqa util_setup_di() postgresql_setup_di() redis_setup_di() injector.register(Database, SqlDatabaseBackendService) injector.register(OccLocker, SqlOccLockerBackendService) injector.register(Messaging, RedisMessagingBackendService) core_setup_di()
def register_services(): util_setup_di() postgresql_setup_di() redis_setup_di() injector.register(ReadDatabase, SqlReadDatabaseBackendService) injector.register(Database, SqlDatabaseBackendService) injector.register(OccLocker, SqlOccLockerBackendService) injector.register(Messaging, RedisMessagingBackendService) core_setup_di()
def setup_di(reset_di): # noqa util_setup_di() postgresql_setup_di() core_setup_di()
def register_services(): util_setup_di() postgresql_setup_di() core_setup_di()