Azure / azure-sdk-for-python

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.83k forks source link

Specify Exceptions Thrown By ContainerProxy.read_item #37279

Open HenryJohnson-KR opened 2 months ago

HenryJohnson-KR commented 2 months ago

Type of issue

Missing information

Description

The information about what exceptions might be thrown by ContainerProxy.read_item only specify that a CosmosHttpResponseError could be thrown. It would be nice to know what subclasses of this type might be thrown. For example, a CosmosResourceNotFoundError.

Page URL

https://learn.microsoft.com/en-us/python/api/azure-cosmos/azure.cosmos.containerproxy?view=azure-python#azure-cosmos-containerproxy-read-item

Content source URL

https://github.com/MicrosoftDocs/azure-docs-sdk-python/blob/main/docs-ref-autogen/azure-cosmos/azure.cosmos.ContainerProxy.yml

Document Version Independent Id

b56e2485-c7bd-152e-9c02-d5b4de9d930b

Article author

@lmazuel

Metadata

github-actions[bot] commented 2 months ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @AbhinavTrips @bambriz @pilchie @pjohari-ms @simorenoh.

kristapratico commented 2 months ago

@HenryJohnson-KR thanks for the feedback, the team will take a look and get back to you as soon as possible.