awesome-fastapi-projects/app/types.py
Vladyslav Fedoriuk 0610553651
Fix GitHub Actions Worklows and refactor tests (#27)
* Refactor conftest

* Fix docstrings
2023-11-18 20:27:38 +01:00

12 lines
426 B
Python

"""Type definitions for the application."""
from typing import NewType
#: The ID of a repository from the database.
RepoId = NewType("RepoId", int)
#: The ID of a repository from the SourceGraph API.
SourceGraphRepoId = NewType("SourceGraphRepoId", int)
#: The ID of a dependency from the database.
DependencyId = NewType("DependencyId", int)
#: The revision hash of a repository.
RevisionHash = NewType("RevisionHash", str)