user/__init__.py
def create_Service(log):
    """Injects db connection and sets up service

    Args:
        db (object): Database
        log (object): logger

    Returns:
        object: User Handler
    """
    repo = Repository(Entity, log)
    srv = Service(repo, log, User, CryptoService)
    return srv
Injects db connection and sets up service

    Args:
        db (object): Database
        log (object): logger

    Returns:
        object: User Handler
    
Injects db connection and sets up service
Injects db connection and sets up service
def create_Service(log):
    repo = Repository(Entity, log)
    srv = Service(repo, log, User, CryptoService)
    return srv
def create_Service ( log ) : repo = Repository ( Entity , log ) srv = Service ( repo , log , User , CryptoService ) return srv
Injects db connection and sets up service
Injects db connection and sets up service
"""Injects db connection and sets up service

    Args:
        db (object): Database
        log (object): logger

    Returns:
        object: User Handler
    """
None
object
log
None
db
None