def METHOD_NAME(
    name: str, project: typing.Optional[str] = None
) -> mlrun.common.schemas.BackgroundTask:
    now = datetime.datetime.utcnow()
    metadata = mlrun.common.schemas.BackgroundTaskMetadata(
        name=name,
        project=project,
        created=now,
        updated=now,
    )
    spec = mlrun.common.schemas.BackgroundTaskSpec()
    status = mlrun.common.schemas.BackgroundTaskStatus(
        state=mlrun.common.schemas.BackgroundTaskState.running
    )
    return mlrun.common.schemas.BackgroundTask(
        metadata=metadata, spec=spec, status=status
    )