-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add getName for the resource like blob/container/file #4916
Comments
What will |
We don't really need this in python, although it's not a bad thing to have either. |
After discussing with xstore team, we think the best route is to expose The reason the "ContainerName" pattern is more interesting than "ParentName" is to accommodate ADLS scenarios which will be exposed through the same APIs. |
As @rakshith91 mentions above - for Python we publicly expose all the path components on each of the clients as properties, for example: BlobServiceClient.primary_hostname
BlobServiceClient.secondary_hostname
ContainerClient.container_name
BlobClient.container_name
BlobClient.blob_name
BlobClient.snapshot |
JS has Azure/azure-sdk-for-js#5007 tracking this. |
Xstore team requests us to add a getName() API for resource name.
It will provide rich information for logging and debugging.
Better to have convenience feature of getting the parent as well.
The text was updated successfully, but these errors were encountered: