def METHOD_NAME(
    self,
    db_session: sqlalchemy.orm.Session,
    project: str = mlrun.mlconf.default_project,
    name: str = "",
    tag: str = "",
    labels: typing.List[str] = None,
    hash_key: str = "",
) -> typing.List:
    project = project or mlrun.mlconf.default_project
    if labels is None:
        labels = []
    return mlrun.api.utils.singletons.db.get_db().METHOD_NAME(
        session=db_session,
        name=name,
        project=project,
        tag=tag,
        labels=labels,
        hash_key=hash_key,
    )