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:
parent
4a687300d7
commit
7d61048af6
3 changed files with 206 additions and 3 deletions
28
github/types/committer.py
Normal file
28
github/types/committer.py
Normal 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]
|
Loading…
Add table
Add a link
Reference in a new issue