mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
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>
33 lines
877 B
Python
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: ...
|