GitHubProjectHistoryStore#
- class gafaelfawr.storage.github_project.GitHubProjectHistoryStore(session)#
Bases:
objectStores and retrieves the history of changes to GitHub projects.
- Parameters:
session (
AsyncSession) – The database session proxy.
Methods Summary
add(entry)Record a change to a GitHub project or project template.
list(*[, project_id, template])List changes to GitHub projects and project templates.
Methods Documentation
- async add(entry)#
Record a change to a GitHub project or project template.
- Parameters:
entry (
GitHubProjectHistoryEntry) – New entry to add to the database.- Return type:
- async list(*, project_id=None, template=None)#
List changes to GitHub projects and project templates.
- Parameters:
- Returns:
Matching changes in the order they were made.
- Return type: