Skip to content

Commit bbf343e

Browse files
Correct some snake_case to camelCase naming. (#1758)
There were some places where snake-case names were used but Azure wants camelCase. This PR corrects the applicable lines of code.
1 parent dc4f129 commit bbf343e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

azure-py-cosmosdb-logicapp/__main__.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
),
7979
parameter_values={
8080
"databaseAccount": cosmosdb_account.name,
81-
"access_key": account_keys.primary_master_key,
81+
"accessKey": account_keys.primary_master_key,
8282
},
8383
))
8484

@@ -88,10 +88,10 @@
8888
resource_group_name=resource_group.name,
8989
definition={
9090
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
91-
"content_version": "1.0.0.0",
91+
"contentVersion": "1.0.0.0",
9292
"parameters": {
9393
"$connections": {
94-
"default_value": {},
94+
"defaultValue": {},
9595
"type": "Object",
9696
},
9797
},
@@ -132,7 +132,7 @@
132132
"$connections": logic.WorkflowParameterArgs(
133133
value={
134134
"documentdb": {
135-
"connection_id": connection.id,
135+
"connectionId": connection.id,
136136
"connection_name": "logicapp-cosmosdb-connection",
137137
"id": api_id,
138138
},

0 commit comments

Comments
 (0)