Repository

class tokki.abc.Repo(data, client)

Base repository for all Git/Mercurial services.

Parameters
  • data (dict) – Raw JSON response sent by the service.

  • client (Client) – The client that generated this request.

abstract property default_branch

The default branch of the project.

Type

str

abstract property name

The name of the repository.

Type

str

abstract property owner

The user or organization that owns the repo.

Type

str

abstract property repo_slug

The slug assigned by Git or Mercurial.

Type

str

abstract property site_slug

The slug assigned by the CI service.

Type

str