1
Fork 0
mirror of https://github.com/RGBCube/GitHubWrapper synced 2025-05-30 20:48:12 +00:00

Add all repo routes

This commit is contained in:
RGBCube 2022-06-27 15:55:26 +03:00
parent 4a687300d7
commit 7d61048af6
3 changed files with 206 additions and 3 deletions

28
github/types/committer.py Normal file
View file

@ -0,0 +1,28 @@
__all__ = ("Committer", "OptionalCommitter", "Author", "OptionalAuthor")
from typing import TYPE_CHECKING, TypedDict
if TYPE_CHECKING:
from typing_extensions import NotRequired
class Committer(TypedDict):
name: str
email: str
date: NotRequired[str]
class OptionalCommitter(TypedDict):
name: NotRequired[str]
email: NotRequired[str]
class Author(TypedDict):
name: str
email: str
date: NotRequired[str]
class OptionalAuthor(TypedDict):
name: NotRequired[str]
email: NotRequired[str]