Skip to content

Commit 1996261

Browse files
committed
Fix typo in transactional batch Python sample
1 parent f029657 commit 1996261

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/cosmos-db/nosql/transactional-batch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ Get or create a container instance:
144144

145145
```python
146146
container = database.create_container_if_not_exists(id="batch_container",
147-
partition_key=PartitionKey(path='/road_bikes'))
147+
partition_key=PartitionKey(path='/category'))
148148
```
149149
In Python, Transactional Batch operations look very similar to the singular operations apis, and are tuples containing (operation_type_string, args_tuple, batch_operation_kwargs_dictionary). Below are sample items that will be used to demonstrate batch operations functionality:
150150

0 commit comments

Comments
 (0)