mirror of
https://github.com/Kludex/awesome-fastapi-projects.git
synced 2024-11-23 20:11:07 +00:00
0610553651
* Refactor conftest * Fix docstrings
12 lines
426 B
Python
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)
|