1
Fork 0
mirror of https://github.com/RGBCube/GitHubWrapper synced 2025-05-14 13:15:00 +00:00
GitHubWrapper/github/types/committer.py
2022-06-27 16:10:09 +03:00

28 lines
535 B
Python

__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]