Skip to content

Commit 97b4c9f

Browse files
committed
Another one forgot.
1 parent a3cde24 commit 97b4c9f

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

articles/cosmos-db/nosql/how-to-python-create-database.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,6 @@ In the examples above, the response from the requests is a [``DatabaseProxy``](
6363

6464
The following example shows the **create_database_if_not_exists** method returning a **database** object.
6565

66-
```python
67-
database = client.create_database_if_not_exists(id=DATABASE_ID)
68-
for container in database.list_containers():
69-
print(f'Container name: {container["id"]}')
70-
```
71-
7266
:::code language="python" source="~/cosmos-db-nosql-python-samples/004-create-db/app_exists.py" id="parse_response":::
7367

7468
## Next steps

0 commit comments

Comments
 (0)