Migration¶
-
class
github.Migration.
Migration
¶ This class represents Migrations. The reference can be found here https://docs.github.com/en/rest/reference/migrations
-
id
¶ Type: int
-
owner
¶ Type: github.NamedUser.NamedUser
-
guid
¶ Type: str
-
state
¶ Type: str
-
lock_repositories
¶ Type: bool
-
exclude_attachments
¶ Type: bool
-
repositories
¶ Type: github.PaginatedList.PaginatedList
ofgithub.Repository.Repository
-
url
¶ Type: str
-
created_at
¶ Type: datetime.datetime Return type: None
-
updated_at
¶ Type: datetime.datetime Return type: None
-
get_status
()¶ Calls: GET /user/migrations/{migration_id} Return type: str
-
get_archive_url
()¶ Calls: GET /user/migrations/{migration_id}/archive Return type: str
-
delete
()¶ Calls: DELETE /user/migrations/{migration_id}/archive
-
unlock_repo
(repo_name)¶ Calls: DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock Parameters: repo_name – str Return type: None
-