This repository is for active development of the Azure SDK for Python. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/python/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-python.
MIT License
4.63k
stars
2.84k
forks
source link
Expose `ownership` and `permissions` permission in `ContainerSasPermissions` #38637
Is your feature request related to a problem? Please describe.
The
ContainerSasPermissions
class doesn't expose a way to set theownership
orpermissions
permission: https://github.com/Azure/azure-sdk-for-python/blob/a71376d5d0942c08f431178c40ec230d851f54a0/sdk/storage/azure-storage-blob/azure/storage/blob/_models.py#L929-L950As a workaround, I have to provide the string repesentation directly to the
generate_sas_container
function:Describe the solution you'd like
I want to use the
ContainerSasPermissions
class: