MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.25k stars 21.42k forks source link

Azure Function Python CosmosDB binding Documentation is outdated #123840

Closed SethBonser closed 2 weeks ago

SethBonser commented 2 months ago

This documentation is for Azure Functions running Python in the V2 programming Model using input bindings for Azure CosmosDB

https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-cosmosdb-v2-input?tabs=python-v2%2Cisolated-process%2Cnodejs-v4%2Cextensionv4&pivots=programming-language-python#decorators

First on the page the examples section is severely lacking and does not contain any examples for the different scenarios that are available using the V1 programming model

and the Decorators section is now out of date and the names of some of the decorators are incorrect

_collectionname is no longer correct and should be _containername

_connection_stringsetting is no longer correct and should be connection


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

PesalaPavan commented 2 months ago

@SethBonser Thanks for your feedback! We will investigate and update as appropriate.

PesalaPavan commented 2 months ago

@SethBonser Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.

ggailey777 commented 1 month ago

Thanks for calling out that we were missing the new 4.x version of the extension.