Github objects

class github.GithubObject.GithubObject

Base class for all classes representing objects returned by the API.

property requester: Requester

Return my Requester object.

For example, to make requests to API endpoints not yet supported by PyGitHub.

property raw_data: dict[str, Any]
Type:

dict

property raw_headers: dict[str, str | int]
Type:

dict

property etag: str | None
Type:

str

property last_modified: str | None
Type:

str

property last_modified_datetime: datetime | None
Type:

datetime

get__repr__(params: dict[str, Any]) str

Converts the object to a nicely printable string.