Github objects¶
-
class
github.GithubObject.
GithubObject
¶ Base class for all classes representing objects returned by the API.
-
property
requester
¶ Return my Requester object.
For example, to make requests to API endpoints not yet supported by PyGitHub.
-
property
raw_data
¶ - Type
dict
-
property
raw_headers
¶ - Type
dict
-
property
etag
¶ - Type
str
-
property
last_modified
¶ - Type
str
-
property
last_modified_datetime
¶ - Type
datetime
-
get__repr__
(params: Dict[str, Any]) → str¶ Converts the object to a nicely printable string.
-
property
- AccessToken
- AdvisoryBase
- AdvisoryCredit
- AdvisoryCreditDetailed
- AdvisoryVulnerability
- AdvisoryVulnerabilityPackage
- ApplicationOAuth
- Artifact
- AuthenticatedUser
- Authorization
- AuthorizationApplication
- Autolink
- Branch
- BranchProtection
- CVSS
- CWE
- CheckRun
- CheckRunAnnotation
- CheckRunOutput
- CheckSuite
- Clones
- CodeScanAlert
- CodeScanAlertInstance
- CodeScanAlertInstanceLocation
- CodeScanRule
- CodeScanTool
- Commit
- CommitCombinedStatus
- CommitComment
- CommitStats
- CommitStatus
- Comparison
- ContentFile
- DependabotAlert
- DependabotAlertDependency
- DependabotAlertVulnerability
- Deployment
- DeploymentStatus
- DiscussionBase
- DiscussionCommentBase
- Download
- Enterprise
- EnterpriseConsumedLicenses
- Environment
- EnvironmentDeploymentBranchPolicy
- EnvironmentProtectionRule
- EnvironmentProtectionRuleReviewer
- Event
- File
- Gist
- GistComment
- GistFile
- GistHistoryState
- GitAuthor
- GitBlob
- GitCommit
- GitObject
- GitRef
- GitRelease
- GitReleaseAsset
- GitTag
- GitTree
- GitTreeElement
- GithubApp
- GitignoreTemplate
- GlobalAdvisory
- Hook
- HookDelivery
- HookDeliveryRequest
- HookDeliveryResponse
- HookDeliverySummary
- HookDescription
- HookResponse
- Installation
- InstallationAuthorization
- Invitation
- Issue
- IssueComment
- IssueEvent
- IssuePullRequest
- Label
- License
- Membership
- Migration
- Milestone
- NamedEnterpriseUser
- NamedUser
- Notification
- NotificationSubject
- Organization
- OrganizationCustomProperty
- OrganizationDependabotAlert
- OrganizationSecret
- OrganizationVariable
- Path
- Permissions
- Plan
- Project
- ProjectCard
- ProjectColumn
- PublicKey
- PullRequest
- PullRequestComment
- PullRequestMergeStatus
- PullRequestPart
- PullRequestReview
- Rate
- RateLimit
- Reaction
- Referrer
- Repository
- RepositoryAdvisory
- RepositoryCustomPropertyValues
- RepositoryDiscussion
- RepositoryDiscussionCategory
- RepositoryDiscussionComment
- RepositoryKey
- RepositoryPreferences
- RequiredPullRequestReviews
- RequiredStatusChecks
- Secret
- SecurityAndAnalysis
- SecurityAndAnalysisFeature
- SelfHostedActionsRunner
- SourceImport
- Stargazer
- StatsCodeFrequency
- StatsCommitActivity
- StatsContributor
- StatsParticipation
- StatsPunchCard
- Tag
- Team
- TeamDiscussion
- TimelineEvent
- TimelineEventSource
- Topic
- UserKey
- Variable
- View
- Workflow
- WorkflowJob
- WorkflowRun
- WorkflowStep