qrunch.hybrid_jobs.aws_code_artifact

Class used for getting access to our internal wheel releases. Requires authenticated AWS Cli of the user.

Classes

CodeArtifactRepository

An AWS Code Artifact repository.

class CodeArtifactRepository

Bases: object

An AWS Code Artifact repository.

__init__(domain: str, account: str, repository: str) None

Initialize a AWS code artifact repository.

Parameters:
  • domain (str) – Domain where the repository belongs (e.g. kvantify)

  • account (str) – (Account number of the account where the repository belongs.)

  • repository (str) – Name of the repository.

Return type:

None

get_token() str

Get the Code Artifact authorization token.

Return type:

str

signed_url() str

Signed repository URL.

Return type:

str