Skip to content

Update sample_create_client.py for Beta 3 API #18657

@annelo-msft

Description

@annelo-msft

The sample_create_client.py feels like it fits to the shape of the original Beta 1 sample. Please consider making the following updates:

  • Refer to ContainerRepository as something other than client here and here
  • Since ContainerRepository isn't a client, we shouldn't be able to create an instance of it directly as we do here, unless this is a Python-specific requirement.
  • In the proposed Beta3 API, we're not exposing functionality to list tags on a repository directly as we do here.
  • If you'd like to illustrate the use of ContainerRepository in this sample, consider also including an illustration of ArtifactRegistry, as it is another Helper type that makes service calls.

Metadata

Metadata

Assignees

Labels

ClientThis issue points to a problem in the data-plane of the library.Container Registry

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions