From 660310b647cd7dd048dc9c9613bd79c5ddf05a79 Mon Sep 17 00:00:00 2001 From: MatthiasProbst Date: Sat, 14 Dec 2024 12:11:35 +0100 Subject: [PATCH] hotfix pymongo collection issue --- docs/userguide/database/mongoDB.ipynb | 98 +++++++++++++-------------- h5rdmtoolbox/database/mongo.py | 13 ++-- requirements.txt | 2 +- setup.cfg | 2 +- tests/database/test_mongo.py | 3 +- 5 files changed, 60 insertions(+), 58 deletions(-) diff --git a/docs/userguide/database/mongoDB.ipynb b/docs/userguide/database/mongoDB.ipynb index 7e10b27..a3ed49a 100644 --- a/docs/userguide/database/mongoDB.ipynb +++ b/docs/userguide/database/mongoDB.ipynb @@ -26,7 +26,7 @@ }, { "cell_type": "code", - "execution_count": 1, + "execution_count": 2, "id": "1e3c96fc-62ac-4462-8e87-d131aeb52c53", "metadata": {}, "outputs": [ @@ -36,7 +36,7 @@ "using(\"h5py\")" ] }, - "execution_count": 1, + "execution_count": 2, "metadata": {}, "output_type": "execute_result" } @@ -66,7 +66,7 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": 3, "id": "b40e8640-b166-4792-913b-6ce39765eef4", "metadata": {}, "outputs": [ @@ -76,7 +76,7 @@ "mongomock.MongoClient('localhost', 27017)" ] }, - "execution_count": 2, + "execution_count": 3, "metadata": {}, "output_type": "execute_result" } @@ -96,7 +96,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": 4, "id": "a8f3cb21-e1e3-4969-9103-a48ac49547b9", "metadata": {}, "outputs": [], @@ -119,7 +119,7 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": 5, "id": "111e3c0d-6d5d-4931-9aac-e4f9e6575088", "metadata": {}, "outputs": [], @@ -139,7 +139,7 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": 6, "id": "3c7f5e27-c173-4a14-941c-2614466219a5", "metadata": {}, "outputs": [ @@ -366,48 +366,48 @@ "\n", "