def __init__(self, owner, repo): self.__template = UriTemplate(REPO_URL) self.__template.owner = owner self.__template.repo = repo try: get_token() self.__client = Api.get_api() except exceptions.NoGeaseConfigFound: self.__client = Api.get_public_api()
def __init__(self, url=REPO_URL): self.__url = url self.__client = Api.get_api()
def __init__(self, owner, repo): self.__template = UriTemplate(RELEASE_URL) self.__template.owner = owner self.__template.repo = repo self.__client = Api.get_api()
def __init__(self): self.__url = REPO_URL self.__client = Api.get_api()