Module aiogithubapi.objects.repos.fork

Class object for AIOGitHubAPIReposFork Documentation: https://docs.github.com/en/rest/reference/repos#list-forks

Generated by generate/generate.py - 2020-08-02 10:38:59.444717

Expand source code
"""
Class object for AIOGitHubAPIReposFork
Documentation: https://docs.github.com/en/rest/reference/repos#list-forks

Generated by generate/generate.py - 2020-08-02 10:38:59.444717
"""
from ..base import AIOGitHubAPIBase


class Owner(AIOGitHubAPIBase):
    @property
    def login(self):
        return self.attributes.get("login", "")

    @property
    def id(self):
        return self.attributes.get("id", None)

    @property
    def node_id(self):
        return self.attributes.get("node_id", "")

    @property
    def avatar_url(self):
        return self.attributes.get("avatar_url", "")

    @property
    def gravatar_id(self):
        return self.attributes.get("gravatar_id", "")

    @property
    def url(self):
        return self.attributes.get("url", "")

    @property
    def html_url(self):
        return self.attributes.get("html_url", "")

    @property
    def followers_url(self):
        return self.attributes.get("followers_url", "")

    @property
    def following_url(self):
        return self.attributes.get("following_url", "")

    @property
    def gists_url(self):
        return self.attributes.get("gists_url", "")

    @property
    def starred_url(self):
        return self.attributes.get("starred_url", "")

    @property
    def subscriptions_url(self):
        return self.attributes.get("subscriptions_url", "")

    @property
    def organizations_url(self):
        return self.attributes.get("organizations_url", "")

    @property
    def repos_url(self):
        return self.attributes.get("repos_url", "")

    @property
    def events_url(self):
        return self.attributes.get("events_url", "")

    @property
    def received_events_url(self):
        return self.attributes.get("received_events_url", "")

    @property
    def type(self):
        return self.attributes.get("type", "")

    @property
    def site_admin(self):
        return self.attributes.get("site_admin", False)


class Permissions(AIOGitHubAPIBase):
    @property
    def admin(self):
        return self.attributes.get("admin", False)

    @property
    def push(self):
        return self.attributes.get("push", False)

    @property
    def pull(self):
        return self.attributes.get("pull", True)


class License(AIOGitHubAPIBase):
    @property
    def key(self):
        return self.attributes.get("key", "")

    @property
    def name(self):
        return self.attributes.get("name", "")

    @property
    def spdx_id(self):
        return self.attributes.get("spdx_id", "")

    @property
    def url(self):
        return self.attributes.get("url", "")

    @property
    def node_id(self):
        return self.attributes.get("node_id", "")


class AIOGitHubAPIReposFork(AIOGitHubAPIBase):
    @property
    def id(self):
        return self.attributes.get("id", None)

    @property
    def node_id(self):
        return self.attributes.get("node_id", "")

    @property
    def name(self):
        return self.attributes.get("name", "")

    @property
    def full_name(self):
        return self.attributes.get("full_name", "")

    @property
    def owner(self):
        return Owner(self.attributes.get("owner", {}))

    @property
    def private(self):
        return self.attributes.get("private", False)

    @property
    def html_url(self):
        return self.attributes.get("html_url", "")

    @property
    def description(self):
        return self.attributes.get("description", "")

    @property
    def fork(self):
        return self.attributes.get("fork", True)

    @property
    def url(self):
        return self.attributes.get("url", "")

    @property
    def archive_url(self):
        return self.attributes.get("archive_url", "")

    @property
    def assignees_url(self):
        return self.attributes.get("assignees_url", "")

    @property
    def blobs_url(self):
        return self.attributes.get("blobs_url", "")

    @property
    def branches_url(self):
        return self.attributes.get("branches_url", "")

    @property
    def collaborators_url(self):
        return self.attributes.get("collaborators_url", "")

    @property
    def comments_url(self):
        return self.attributes.get("comments_url", "")

    @property
    def commits_url(self):
        return self.attributes.get("commits_url", "")

    @property
    def compare_url(self):
        return self.attributes.get("compare_url", "")

    @property
    def contents_url(self):
        return self.attributes.get("contents_url", "")

    @property
    def contributors_url(self):
        return self.attributes.get("contributors_url", "")

    @property
    def deployments_url(self):
        return self.attributes.get("deployments_url", "")

    @property
    def downloads_url(self):
        return self.attributes.get("downloads_url", "")

    @property
    def events_url(self):
        return self.attributes.get("events_url", "")

    @property
    def forks_url(self):
        return self.attributes.get("forks_url", "")

    @property
    def git_commits_url(self):
        return self.attributes.get("git_commits_url", "")

    @property
    def git_refs_url(self):
        return self.attributes.get("git_refs_url", "")

    @property
    def git_tags_url(self):
        return self.attributes.get("git_tags_url", "")

    @property
    def git_url(self):
        return self.attributes.get("git_url", "")

    @property
    def issue_comment_url(self):
        return self.attributes.get("issue_comment_url", "")

    @property
    def issue_events_url(self):
        return self.attributes.get("issue_events_url", "")

    @property
    def issues_url(self):
        return self.attributes.get("issues_url", "")

    @property
    def keys_url(self):
        return self.attributes.get("keys_url", "")

    @property
    def labels_url(self):
        return self.attributes.get("labels_url", "")

    @property
    def languages_url(self):
        return self.attributes.get("languages_url", "")

    @property
    def merges_url(self):
        return self.attributes.get("merges_url", "")

    @property
    def milestones_url(self):
        return self.attributes.get("milestones_url", "")

    @property
    def notifications_url(self):
        return self.attributes.get("notifications_url", "")

    @property
    def pulls_url(self):
        return self.attributes.get("pulls_url", "")

    @property
    def releases_url(self):
        return self.attributes.get("releases_url", "")

    @property
    def ssh_url(self):
        return self.attributes.get("ssh_url", "")

    @property
    def stargazers_url(self):
        return self.attributes.get("stargazers_url", "")

    @property
    def statuses_url(self):
        return self.attributes.get("statuses_url", "")

    @property
    def subscribers_url(self):
        return self.attributes.get("subscribers_url", "")

    @property
    def subscription_url(self):
        return self.attributes.get("subscription_url", "")

    @property
    def tags_url(self):
        return self.attributes.get("tags_url", "")

    @property
    def teams_url(self):
        return self.attributes.get("teams_url", "")

    @property
    def trees_url(self):
        return self.attributes.get("trees_url", "")

    @property
    def clone_url(self):
        return self.attributes.get("clone_url", "")

    @property
    def mirror_url(self):
        return self.attributes.get("mirror_url", "")

    @property
    def hooks_url(self):
        return self.attributes.get("hooks_url", "")

    @property
    def svn_url(self):
        return self.attributes.get("svn_url", "")

    @property
    def homepage(self):
        return self.attributes.get("homepage", "")

    @property
    def language(self):
        return self.attributes.get("language", None)

    @property
    def forks_count(self):
        return self.attributes.get("forks_count", None)

    @property
    def stargazers_count(self):
        return self.attributes.get("stargazers_count", None)

    @property
    def watchers_count(self):
        return self.attributes.get("watchers_count", None)

    @property
    def size(self):
        return self.attributes.get("size", None)

    @property
    def default_branch(self):
        return self.attributes.get("default_branch", "")

    @property
    def open_issues_count(self):
        return self.attributes.get("open_issues_count", None)

    @property
    def is_template(self):
        return self.attributes.get("is_template", True)

    @property
    def topics(self):
        return self.attributes.get("topics", [])

    @property
    def has_issues(self):
        return self.attributes.get("has_issues", True)

    @property
    def has_projects(self):
        return self.attributes.get("has_projects", True)

    @property
    def has_wiki(self):
        return self.attributes.get("has_wiki", True)

    @property
    def has_pages(self):
        return self.attributes.get("has_pages", False)

    @property
    def has_downloads(self):
        return self.attributes.get("has_downloads", True)

    @property
    def archived(self):
        return self.attributes.get("archived", False)

    @property
    def disabled(self):
        return self.attributes.get("disabled", False)

    @property
    def visibility(self):
        return self.attributes.get("visibility", "")

    @property
    def pushed_at(self):
        return self.attributes.get("pushed_at", "")

    @property
    def created_at(self):
        return self.attributes.get("created_at", "")

    @property
    def updated_at(self):
        return self.attributes.get("updated_at", "")

    @property
    def permissions(self):
        return Permissions(self.attributes.get("permissions", {}))

    @property
    def template_repository(self):
        return self.attributes.get("template_repository", None)

    @property
    def temp_clone_token(self):
        return self.attributes.get("temp_clone_token", "")

    @property
    def delete_branch_on_merge(self):
        return self.attributes.get("delete_branch_on_merge", True)

    @property
    def subscribers_count(self):
        return self.attributes.get("subscribers_count", None)

    @property
    def network_count(self):
        return self.attributes.get("network_count", None)

    @property
    def license(self):
        return License(self.attributes.get("license", {}))

Classes

class AIOGitHubAPIReposFork (attributes)

Base class for AIOGitHubAPI.

Initialize.

Expand source code
class AIOGitHubAPIReposFork(AIOGitHubAPIBase):
    @property
    def id(self):
        return self.attributes.get("id", None)

    @property
    def node_id(self):
        return self.attributes.get("node_id", "")

    @property
    def name(self):
        return self.attributes.get("name", "")

    @property
    def full_name(self):
        return self.attributes.get("full_name", "")

    @property
    def owner(self):
        return Owner(self.attributes.get("owner", {}))

    @property
    def private(self):
        return self.attributes.get("private", False)

    @property
    def html_url(self):
        return self.attributes.get("html_url", "")

    @property
    def description(self):
        return self.attributes.get("description", "")

    @property
    def fork(self):
        return self.attributes.get("fork", True)

    @property
    def url(self):
        return self.attributes.get("url", "")

    @property
    def archive_url(self):
        return self.attributes.get("archive_url", "")

    @property
    def assignees_url(self):
        return self.attributes.get("assignees_url", "")

    @property
    def blobs_url(self):
        return self.attributes.get("blobs_url", "")

    @property
    def branches_url(self):
        return self.attributes.get("branches_url", "")

    @property
    def collaborators_url(self):
        return self.attributes.get("collaborators_url", "")

    @property
    def comments_url(self):
        return self.attributes.get("comments_url", "")

    @property
    def commits_url(self):
        return self.attributes.get("commits_url", "")

    @property
    def compare_url(self):
        return self.attributes.get("compare_url", "")

    @property
    def contents_url(self):
        return self.attributes.get("contents_url", "")

    @property
    def contributors_url(self):
        return self.attributes.get("contributors_url", "")

    @property
    def deployments_url(self):
        return self.attributes.get("deployments_url", "")

    @property
    def downloads_url(self):
        return self.attributes.get("downloads_url", "")

    @property
    def events_url(self):
        return self.attributes.get("events_url", "")

    @property
    def forks_url(self):
        return self.attributes.get("forks_url", "")

    @property
    def git_commits_url(self):
        return self.attributes.get("git_commits_url", "")

    @property
    def git_refs_url(self):
        return self.attributes.get("git_refs_url", "")

    @property
    def git_tags_url(self):
        return self.attributes.get("git_tags_url", "")

    @property
    def git_url(self):
        return self.attributes.get("git_url", "")

    @property
    def issue_comment_url(self):
        return self.attributes.get("issue_comment_url", "")

    @property
    def issue_events_url(self):
        return self.attributes.get("issue_events_url", "")

    @property
    def issues_url(self):
        return self.attributes.get("issues_url", "")

    @property
    def keys_url(self):
        return self.attributes.get("keys_url", "")

    @property
    def labels_url(self):
        return self.attributes.get("labels_url", "")

    @property
    def languages_url(self):
        return self.attributes.get("languages_url", "")

    @property
    def merges_url(self):
        return self.attributes.get("merges_url", "")

    @property
    def milestones_url(self):
        return self.attributes.get("milestones_url", "")

    @property
    def notifications_url(self):
        return self.attributes.get("notifications_url", "")

    @property
    def pulls_url(self):
        return self.attributes.get("pulls_url", "")

    @property
    def releases_url(self):
        return self.attributes.get("releases_url", "")

    @property
    def ssh_url(self):
        return self.attributes.get("ssh_url", "")

    @property
    def stargazers_url(self):
        return self.attributes.get("stargazers_url", "")

    @property
    def statuses_url(self):
        return self.attributes.get("statuses_url", "")

    @property
    def subscribers_url(self):
        return self.attributes.get("subscribers_url", "")

    @property
    def subscription_url(self):
        return self.attributes.get("subscription_url", "")

    @property
    def tags_url(self):
        return self.attributes.get("tags_url", "")

    @property
    def teams_url(self):
        return self.attributes.get("teams_url", "")

    @property
    def trees_url(self):
        return self.attributes.get("trees_url", "")

    @property
    def clone_url(self):
        return self.attributes.get("clone_url", "")

    @property
    def mirror_url(self):
        return self.attributes.get("mirror_url", "")

    @property
    def hooks_url(self):
        return self.attributes.get("hooks_url", "")

    @property
    def svn_url(self):
        return self.attributes.get("svn_url", "")

    @property
    def homepage(self):
        return self.attributes.get("homepage", "")

    @property
    def language(self):
        return self.attributes.get("language", None)

    @property
    def forks_count(self):
        return self.attributes.get("forks_count", None)

    @property
    def stargazers_count(self):
        return self.attributes.get("stargazers_count", None)

    @property
    def watchers_count(self):
        return self.attributes.get("watchers_count", None)

    @property
    def size(self):
        return self.attributes.get("size", None)

    @property
    def default_branch(self):
        return self.attributes.get("default_branch", "")

    @property
    def open_issues_count(self):
        return self.attributes.get("open_issues_count", None)

    @property
    def is_template(self):
        return self.attributes.get("is_template", True)

    @property
    def topics(self):
        return self.attributes.get("topics", [])

    @property
    def has_issues(self):
        return self.attributes.get("has_issues", True)

    @property
    def has_projects(self):
        return self.attributes.get("has_projects", True)

    @property
    def has_wiki(self):
        return self.attributes.get("has_wiki", True)

    @property
    def has_pages(self):
        return self.attributes.get("has_pages", False)

    @property
    def has_downloads(self):
        return self.attributes.get("has_downloads", True)

    @property
    def archived(self):
        return self.attributes.get("archived", False)

    @property
    def disabled(self):
        return self.attributes.get("disabled", False)

    @property
    def visibility(self):
        return self.attributes.get("visibility", "")

    @property
    def pushed_at(self):
        return self.attributes.get("pushed_at", "")

    @property
    def created_at(self):
        return self.attributes.get("created_at", "")

    @property
    def updated_at(self):
        return self.attributes.get("updated_at", "")

    @property
    def permissions(self):
        return Permissions(self.attributes.get("permissions", {}))

    @property
    def template_repository(self):
        return self.attributes.get("template_repository", None)

    @property
    def temp_clone_token(self):
        return self.attributes.get("temp_clone_token", "")

    @property
    def delete_branch_on_merge(self):
        return self.attributes.get("delete_branch_on_merge", True)

    @property
    def subscribers_count(self):
        return self.attributes.get("subscribers_count", None)

    @property
    def network_count(self):
        return self.attributes.get("network_count", None)

    @property
    def license(self):
        return License(self.attributes.get("license", {}))

Ancestors

Instance variables

var archive_url
Expand source code
@property
def archive_url(self):
    return self.attributes.get("archive_url", "")
var archived
Expand source code
@property
def archived(self):
    return self.attributes.get("archived", False)
var assignees_url
Expand source code
@property
def assignees_url(self):
    return self.attributes.get("assignees_url", "")
var blobs_url
Expand source code
@property
def blobs_url(self):
    return self.attributes.get("blobs_url", "")
var branches_url
Expand source code
@property
def branches_url(self):
    return self.attributes.get("branches_url", "")
var clone_url
Expand source code
@property
def clone_url(self):
    return self.attributes.get("clone_url", "")
var collaborators_url
Expand source code
@property
def collaborators_url(self):
    return self.attributes.get("collaborators_url", "")
var comments_url
Expand source code
@property
def comments_url(self):
    return self.attributes.get("comments_url", "")
var commits_url
Expand source code
@property
def commits_url(self):
    return self.attributes.get("commits_url", "")
var compare_url
Expand source code
@property
def compare_url(self):
    return self.attributes.get("compare_url", "")
var contents_url
Expand source code
@property
def contents_url(self):
    return self.attributes.get("contents_url", "")
var contributors_url
Expand source code
@property
def contributors_url(self):
    return self.attributes.get("contributors_url", "")
var created_at
Expand source code
@property
def created_at(self):
    return self.attributes.get("created_at", "")
var default_branch
Expand source code
@property
def default_branch(self):
    return self.attributes.get("default_branch", "")
var delete_branch_on_merge
Expand source code
@property
def delete_branch_on_merge(self):
    return self.attributes.get("delete_branch_on_merge", True)
var deployments_url
Expand source code
@property
def deployments_url(self):
    return self.attributes.get("deployments_url", "")
var description
Expand source code
@property
def description(self):
    return self.attributes.get("description", "")
var disabled
Expand source code
@property
def disabled(self):
    return self.attributes.get("disabled", False)
var downloads_url
Expand source code
@property
def downloads_url(self):
    return self.attributes.get("downloads_url", "")
var events_url
Expand source code
@property
def events_url(self):
    return self.attributes.get("events_url", "")
var fork
Expand source code
@property
def fork(self):
    return self.attributes.get("fork", True)
var forks_count
Expand source code
@property
def forks_count(self):
    return self.attributes.get("forks_count", None)
var forks_url
Expand source code
@property
def forks_url(self):
    return self.attributes.get("forks_url", "")
var full_name
Expand source code
@property
def full_name(self):
    return self.attributes.get("full_name", "")
var git_commits_url
Expand source code
@property
def git_commits_url(self):
    return self.attributes.get("git_commits_url", "")
var git_refs_url
Expand source code
@property
def git_refs_url(self):
    return self.attributes.get("git_refs_url", "")
var git_tags_url
Expand source code
@property
def git_tags_url(self):
    return self.attributes.get("git_tags_url", "")
var git_url
Expand source code
@property
def git_url(self):
    return self.attributes.get("git_url", "")
var has_downloads
Expand source code
@property
def has_downloads(self):
    return self.attributes.get("has_downloads", True)
var has_issues
Expand source code
@property
def has_issues(self):
    return self.attributes.get("has_issues", True)
var has_pages
Expand source code
@property
def has_pages(self):
    return self.attributes.get("has_pages", False)
var has_projects
Expand source code
@property
def has_projects(self):
    return self.attributes.get("has_projects", True)
var has_wiki
Expand source code
@property
def has_wiki(self):
    return self.attributes.get("has_wiki", True)
var homepage
Expand source code
@property
def homepage(self):
    return self.attributes.get("homepage", "")
var hooks_url
Expand source code
@property
def hooks_url(self):
    return self.attributes.get("hooks_url", "")
var html_url
Expand source code
@property
def html_url(self):
    return self.attributes.get("html_url", "")
var id
Expand source code
@property
def id(self):
    return self.attributes.get("id", None)
var is_template
Expand source code
@property
def is_template(self):
    return self.attributes.get("is_template", True)
var issue_comment_url
Expand source code
@property
def issue_comment_url(self):
    return self.attributes.get("issue_comment_url", "")
var issue_events_url
Expand source code
@property
def issue_events_url(self):
    return self.attributes.get("issue_events_url", "")
var issues_url
Expand source code
@property
def issues_url(self):
    return self.attributes.get("issues_url", "")
var keys_url
Expand source code
@property
def keys_url(self):
    return self.attributes.get("keys_url", "")
var labels_url
Expand source code
@property
def labels_url(self):
    return self.attributes.get("labels_url", "")
var language
Expand source code
@property
def language(self):
    return self.attributes.get("language", None)
var languages_url
Expand source code
@property
def languages_url(self):
    return self.attributes.get("languages_url", "")
var license
Expand source code
@property
def license(self):
    return License(self.attributes.get("license", {}))
var merges_url
Expand source code
@property
def merges_url(self):
    return self.attributes.get("merges_url", "")
var milestones_url
Expand source code
@property
def milestones_url(self):
    return self.attributes.get("milestones_url", "")
var mirror_url
Expand source code
@property
def mirror_url(self):
    return self.attributes.get("mirror_url", "")
var name
Expand source code
@property
def name(self):
    return self.attributes.get("name", "")
var network_count
Expand source code
@property
def network_count(self):
    return self.attributes.get("network_count", None)
var node_id
Expand source code
@property
def node_id(self):
    return self.attributes.get("node_id", "")
var notifications_url
Expand source code
@property
def notifications_url(self):
    return self.attributes.get("notifications_url", "")
var open_issues_count
Expand source code
@property
def open_issues_count(self):
    return self.attributes.get("open_issues_count", None)
var owner
Expand source code
@property
def owner(self):
    return Owner(self.attributes.get("owner", {}))
var permissions
Expand source code
@property
def permissions(self):
    return Permissions(self.attributes.get("permissions", {}))
var private
Expand source code
@property
def private(self):
    return self.attributes.get("private", False)
var pulls_url
Expand source code
@property
def pulls_url(self):
    return self.attributes.get("pulls_url", "")
var pushed_at
Expand source code
@property
def pushed_at(self):
    return self.attributes.get("pushed_at", "")
var releases_url
Expand source code
@property
def releases_url(self):
    return self.attributes.get("releases_url", "")
var size
Expand source code
@property
def size(self):
    return self.attributes.get("size", None)
var ssh_url
Expand source code
@property
def ssh_url(self):
    return self.attributes.get("ssh_url", "")
var stargazers_count
Expand source code
@property
def stargazers_count(self):
    return self.attributes.get("stargazers_count", None)
var stargazers_url
Expand source code
@property
def stargazers_url(self):
    return self.attributes.get("stargazers_url", "")
var statuses_url
Expand source code
@property
def statuses_url(self):
    return self.attributes.get("statuses_url", "")
var subscribers_count
Expand source code
@property
def subscribers_count(self):
    return self.attributes.get("subscribers_count", None)
var subscribers_url
Expand source code
@property
def subscribers_url(self):
    return self.attributes.get("subscribers_url", "")
var subscription_url
Expand source code
@property
def subscription_url(self):
    return self.attributes.get("subscription_url", "")
var svn_url
Expand source code
@property
def svn_url(self):
    return self.attributes.get("svn_url", "")
var tags_url
Expand source code
@property
def tags_url(self):
    return self.attributes.get("tags_url", "")
var teams_url
Expand source code
@property
def teams_url(self):
    return self.attributes.get("teams_url", "")
var temp_clone_token
Expand source code
@property
def temp_clone_token(self):
    return self.attributes.get("temp_clone_token", "")
var template_repository
Expand source code
@property
def template_repository(self):
    return self.attributes.get("template_repository", None)
var topics
Expand source code
@property
def topics(self):
    return self.attributes.get("topics", [])
var trees_url
Expand source code
@property
def trees_url(self):
    return self.attributes.get("trees_url", "")
var updated_at
Expand source code
@property
def updated_at(self):
    return self.attributes.get("updated_at", "")
var url
Expand source code
@property
def url(self):
    return self.attributes.get("url", "")
var visibility
Expand source code
@property
def visibility(self):
    return self.attributes.get("visibility", "")
var watchers_count
Expand source code
@property
def watchers_count(self):
    return self.attributes.get("watchers_count", None)
class License (attributes)

Base class for AIOGitHubAPI.

Initialize.

Expand source code
class License(AIOGitHubAPIBase):
    @property
    def key(self):
        return self.attributes.get("key", "")

    @property
    def name(self):
        return self.attributes.get("name", "")

    @property
    def spdx_id(self):
        return self.attributes.get("spdx_id", "")

    @property
    def url(self):
        return self.attributes.get("url", "")

    @property
    def node_id(self):
        return self.attributes.get("node_id", "")

Ancestors

Instance variables

var key
Expand source code
@property
def key(self):
    return self.attributes.get("key", "")
var name
Expand source code
@property
def name(self):
    return self.attributes.get("name", "")
var node_id
Expand source code
@property
def node_id(self):
    return self.attributes.get("node_id", "")
var spdx_id
Expand source code
@property
def spdx_id(self):
    return self.attributes.get("spdx_id", "")
var url
Expand source code
@property
def url(self):
    return self.attributes.get("url", "")
class Owner (attributes)

Base class for AIOGitHubAPI.

Initialize.

Expand source code
class Owner(AIOGitHubAPIBase):
    @property
    def login(self):
        return self.attributes.get("login", "")

    @property
    def id(self):
        return self.attributes.get("id", None)

    @property
    def node_id(self):
        return self.attributes.get("node_id", "")

    @property
    def avatar_url(self):
        return self.attributes.get("avatar_url", "")

    @property
    def gravatar_id(self):
        return self.attributes.get("gravatar_id", "")

    @property
    def url(self):
        return self.attributes.get("url", "")

    @property
    def html_url(self):
        return self.attributes.get("html_url", "")

    @property
    def followers_url(self):
        return self.attributes.get("followers_url", "")

    @property
    def following_url(self):
        return self.attributes.get("following_url", "")

    @property
    def gists_url(self):
        return self.attributes.get("gists_url", "")

    @property
    def starred_url(self):
        return self.attributes.get("starred_url", "")

    @property
    def subscriptions_url(self):
        return self.attributes.get("subscriptions_url", "")

    @property
    def organizations_url(self):
        return self.attributes.get("organizations_url", "")

    @property
    def repos_url(self):
        return self.attributes.get("repos_url", "")

    @property
    def events_url(self):
        return self.attributes.get("events_url", "")

    @property
    def received_events_url(self):
        return self.attributes.get("received_events_url", "")

    @property
    def type(self):
        return self.attributes.get("type", "")

    @property
    def site_admin(self):
        return self.attributes.get("site_admin", False)

Ancestors

Instance variables

var avatar_url
Expand source code
@property
def avatar_url(self):
    return self.attributes.get("avatar_url", "")
var events_url
Expand source code
@property
def events_url(self):
    return self.attributes.get("events_url", "")
var followers_url
Expand source code
@property
def followers_url(self):
    return self.attributes.get("followers_url", "")
var following_url
Expand source code
@property
def following_url(self):
    return self.attributes.get("following_url", "")
var gists_url
Expand source code
@property
def gists_url(self):
    return self.attributes.get("gists_url", "")
var gravatar_id
Expand source code
@property
def gravatar_id(self):
    return self.attributes.get("gravatar_id", "")
var html_url
Expand source code
@property
def html_url(self):
    return self.attributes.get("html_url", "")
var id
Expand source code
@property
def id(self):
    return self.attributes.get("id", None)
var login
Expand source code
@property
def login(self):
    return self.attributes.get("login", "")
var node_id
Expand source code
@property
def node_id(self):
    return self.attributes.get("node_id", "")
var organizations_url
Expand source code
@property
def organizations_url(self):
    return self.attributes.get("organizations_url", "")
var received_events_url
Expand source code
@property
def received_events_url(self):
    return self.attributes.get("received_events_url", "")
var repos_url
Expand source code
@property
def repos_url(self):
    return self.attributes.get("repos_url", "")
var site_admin
Expand source code
@property
def site_admin(self):
    return self.attributes.get("site_admin", False)
var starred_url
Expand source code
@property
def starred_url(self):
    return self.attributes.get("starred_url", "")
var subscriptions_url
Expand source code
@property
def subscriptions_url(self):
    return self.attributes.get("subscriptions_url", "")
var type
Expand source code
@property
def type(self):
    return self.attributes.get("type", "")
var url
Expand source code
@property
def url(self):
    return self.attributes.get("url", "")
class Permissions (attributes)

Base class for AIOGitHubAPI.

Initialize.

Expand source code
class Permissions(AIOGitHubAPIBase):
    @property
    def admin(self):
        return self.attributes.get("admin", False)

    @property
    def push(self):
        return self.attributes.get("push", False)

    @property
    def pull(self):
        return self.attributes.get("pull", True)

Ancestors

Instance variables

var admin
Expand source code
@property
def admin(self):
    return self.attributes.get("admin", False)
var pull
Expand source code
@property
def pull(self):
    return self.attributes.get("pull", True)
var push
Expand source code
@property
def push(self):
    return self.attributes.get("push", False)