Files
PyGithub/github/Topic.pyi
T
Enrico MinackandJohn T. Wodder II 0177f7c513 Make datetime objects timezone-aware (#2565)
Comparing timestamps returned by the API with naive datetime objects (without timezone information) will raise an error. Add `tzinfo=datetime.timezone.utc` to your datetime instance.

Co-authored-by: John T. Wodder II <git@varonathe.org>
2023-06-28 21:47:48 +02:00

33 lines
877 B
Python

from datetime import datetime
from typing import Any, Dict
from github.GithubObject import NonCompletableGithubObject
class Topic(NonCompletableGithubObject):
def __repr__(self) -> str: ...
def _initAttributes(self) -> None: ...
def _useAttributes(self, attributes: Dict[str, Any]) -> None: ...
@property
def name(self) -> str: ...
@property
def display_name(self) -> str: ...
@property
def short_description(self) -> str: ...
@property
def description(self) -> str: ...
@property
def created_by(self) -> str: ...
@property
def released(self) -> str: ...
@property
def created_at(self) -> datetime: ...
@property
def updated_at(self) -> datetime: ...
@property
def featured(self) -> bool: ...
@property
def curated(self) -> bool: ...
@property
def score(self) -> float: ...