@@ -1532,7 +1532,20 @@ Both [in-process](functions-dotnet-class-library.md) and [isolated worker proces
1532
1532
1533
1533
_ Applies only to the Python v2 programming model._
1534
1534
1535
- For Python v2 functions defined using a decorator, the following properties on the ` cosmos_db_input ` :
1535
+ Python v2 functions are defined using the ` cosmos_db_input ` decorator, which supports these properties, depending on the extension version:
1536
+
1537
+ ### [ Extension 4.x+] ( #tab/extensionv4 )
1538
+
1539
+ | Property | Description |
1540
+ | -------------| -----------------------------|
1541
+ | ` arg_name ` | The variable name used in function code that represents the list of documents with changes. |
1542
+ | ` database_name ` | The name of the Azure Cosmos DB database with the collection being monitored. |
1543
+ | ` container_name ` | The name of the Azure Cosmos DB collection being monitored. |
1544
+ | ` connection ` | The connection string of the Azure Cosmos DB being monitored. |
1545
+ | ` partition_key ` | The partition key of the Azure Cosmos DB being monitored. |
1546
+ | ` id ` | The ID of the document to retrieve. |
1547
+
1548
+ ### [ Functions 2.x+] ( #tab/functionsv2 )
1536
1549
1537
1550
| Property | Description |
1538
1551
| -------------| -----------------------------|
@@ -1543,6 +1556,8 @@ For Python v2 functions defined using a decorator, the following properties on t
1543
1556
| ` partition_key ` | The partition key of the Azure Cosmos DB being monitored. |
1544
1557
| ` id ` | The ID of the document to retrieve. |
1545
1558
1559
+ ---
1560
+
1546
1561
For Python functions defined by using * function.json* , see the [ Configuration] ( #configuration ) section.
1547
1562
::: zone-end
1548
1563
0 commit comments