django_socio_grpc.services.app_handler_registry
Module Contents
Classes
Data
API
- django_socio_grpc.services.app_handler_registry.logger
‘getLogger(…)’
- class django_socio_grpc.services.app_handler_registry.AppHandlerRegistry
-
- __post_init__()
- get_service_file_path(service_name)
- get_service_class_from_service_name(service_name, service_file_path=None) type[django_socio_grpc.services.Service]
- register(service_class: str | type[django_socio_grpc.services.Service], service_file_path=None)
Register a service to the grpc server
:param service: Service class to register. This can also be the name of the service and we will gonna import it :param: service_file_path: If you pass the service name but he path is not possibly find manually
- get_grpc_folder()
- get_grpc_module()
- get_pb2_module()
- get_pb2_grpc_module()
- get_proto_path()