mirror of
https://github.com/RGBCube/GitHubWrapper
synced 2025-05-25 02:05:09 +00:00
18 lines
366 B
Python
18 lines
366 B
Python
from __future__ import annotations
|
|
|
|
from typing import TYPE_CHECKING, List, Optional, TypedDict
|
|
|
|
if TYPE_CHECKING:
|
|
from typing_extensions import NotRequired
|
|
|
|
|
|
class LicenseSimple(TypedDict):
|
|
key: str
|
|
name: str
|
|
url: Optional[str]
|
|
spdx_id: Optional[str]
|
|
node_id: str
|
|
html_url: NotRequired[str]
|
|
|
|
|
|
GeneratedObjectResult = List[LicenseSimple]
|