mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
13 lines
400 B
Python
13 lines
400 B
Python
from GithubObject import *
|
|
|
|
Authorization = GithubObject(
|
|
"Authorization",
|
|
BaseUrl( lambda obj: "/authorizations/" + str( obj.id ) ),
|
|
InternalSimpleAttributes(
|
|
"id", "url", "scopes", "token", "app", "note", "note_url", "updated_at",
|
|
"created_at",
|
|
),
|
|
Editable( Parameters( [], [ "scopes", "add_scopes", "remove_scopes", "note", "note_url" ] ) ),
|
|
Deletable(),
|
|
)
|