-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Update sample_create_client.py for Beta 3 API #18657
Copy link
Copy link
Closed
Labels
ClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.Container Registry
Milestone
Description
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
ContainerRepositoryas something other than client here and here - Since
ContainerRepositoryisn'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
ContainerRepositoryin this sample, consider also including an illustration ofArtifactRegistry, as it is another Helper type that makes service calls.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
ClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.Container Registry