Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
@uplink.get("repos/{user}/{repo}/issues/{issue}")
def get_issue(self, user, repo, issue):
pass
@uplink.get("/users/{user}")
def get_user(self, user):
pass
@uplink.get("/calendar/{todo_id}")
def get_todo(self, todo_id):
pass
@uplink.get("/users/{user}/repos")
def get_repos(self, user):
pass
@uplink.get("users/{user}")
def get_user(self, user):
pass
@get("/web/v1/maintenance")
def get_optimizers(self) -> Maintenance:
pass
@get("/repositories")
def get_repos(self) -> RepoSchema(many=True):
"""Lists all public repositories."""
@get("/repos/{owner}/{repo}/contributors")
def get_contributors(self, owner, repo) -> ContributorSchema(many=True):
"""Lists contributors for the specified repository."""
@get("projects/{owner_id}/{project_id}")
def get_project(self, owner_id, project_id):
"""Retrieve a project.
The definition of the project will be returned,
not the associated data.
:param owner_id: User or organization ID of the owner of the dataset
:type owner_id: str
:param project_id: Unique identifier of dataset
"""
pass