Skip to main content

data.storage.project_storage

ProjectStorage Objects

class ProjectStorage(Storage[Project, ProjectID], abc.ABC)

Storage for projects.

filter_by_user

@abc.abstractmethod
def filter_by_user(user_id: UserID) -> typing.List[Project]

Returns projects associated with the specified user.

Arguments:

  • user_id - The user ID.

Returns:

The matching projects list.