aidbox-python-sdk 0.1.22__tar.gz → 0.1.23__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. {aidbox_python_sdk-0.1.22/aidbox_python_sdk.egg-info → aidbox_python_sdk-0.1.23}/PKG-INFO +1 -1
  2. {aidbox_python_sdk-0.1.22 → aidbox_python_sdk-0.1.23}/aidbox_python_sdk/__init__.py +1 -1
  3. {aidbox_python_sdk-0.1.22 → aidbox_python_sdk-0.1.23}/aidbox_python_sdk/sdk.py +3 -2
  4. {aidbox_python_sdk-0.1.22 → aidbox_python_sdk-0.1.23/aidbox_python_sdk.egg-info}/PKG-INFO +1 -1
  5. {aidbox_python_sdk-0.1.22 → aidbox_python_sdk-0.1.23}/tests/test_sdk.py +2 -1
  6. {aidbox_python_sdk-0.1.22 → aidbox_python_sdk-0.1.23}/LICENSE.md +0 -0
  7. {aidbox_python_sdk-0.1.22 → aidbox_python_sdk-0.1.23}/MANIFEST.in +0 -0
  8. {aidbox_python_sdk-0.1.22 → aidbox_python_sdk-0.1.23}/README.md +0 -0
  9. {aidbox_python_sdk-0.1.22 → aidbox_python_sdk-0.1.23}/aidbox_python_sdk/aidboxpy.py +0 -0
  10. {aidbox_python_sdk-0.1.22 → aidbox_python_sdk-0.1.23}/aidbox_python_sdk/app_keys.py +0 -0
  11. {aidbox_python_sdk-0.1.22 → aidbox_python_sdk-0.1.23}/aidbox_python_sdk/db.py +0 -0
  12. {aidbox_python_sdk-0.1.22 → aidbox_python_sdk-0.1.23}/aidbox_python_sdk/db_migrations.py +0 -0
  13. {aidbox_python_sdk-0.1.22 → aidbox_python_sdk-0.1.23}/aidbox_python_sdk/exceptions.py +0 -0
  14. {aidbox_python_sdk-0.1.22 → aidbox_python_sdk-0.1.23}/aidbox_python_sdk/handlers.py +0 -0
  15. {aidbox_python_sdk-0.1.22 → aidbox_python_sdk-0.1.23}/aidbox_python_sdk/main.py +0 -0
  16. {aidbox_python_sdk-0.1.22 → aidbox_python_sdk-0.1.23}/aidbox_python_sdk/py.typed +0 -0
  17. {aidbox_python_sdk-0.1.22 → aidbox_python_sdk-0.1.23}/aidbox_python_sdk/pytest_plugin.py +0 -0
  18. {aidbox_python_sdk-0.1.22 → aidbox_python_sdk-0.1.23}/aidbox_python_sdk/settings.py +0 -0
  19. {aidbox_python_sdk-0.1.22 → aidbox_python_sdk-0.1.23}/aidbox_python_sdk/types.py +0 -0
  20. {aidbox_python_sdk-0.1.22 → aidbox_python_sdk-0.1.23}/aidbox_python_sdk.egg-info/SOURCES.txt +0 -0
  21. {aidbox_python_sdk-0.1.22 → aidbox_python_sdk-0.1.23}/aidbox_python_sdk.egg-info/dependency_links.txt +0 -0
  22. {aidbox_python_sdk-0.1.22 → aidbox_python_sdk-0.1.23}/aidbox_python_sdk.egg-info/not-zip-safe +0 -0
  23. {aidbox_python_sdk-0.1.22 → aidbox_python_sdk-0.1.23}/aidbox_python_sdk.egg-info/requires.txt +0 -0
  24. {aidbox_python_sdk-0.1.22 → aidbox_python_sdk-0.1.23}/aidbox_python_sdk.egg-info/top_level.txt +0 -0
  25. {aidbox_python_sdk-0.1.22 → aidbox_python_sdk-0.1.23}/pyproject.toml +0 -0
  26. {aidbox_python_sdk-0.1.22 → aidbox_python_sdk-0.1.23}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aidbox-python-sdk
3
- Version: 0.1.22
3
+ Version: 0.1.23
4
4
  Summary: Aidbox SDK for python
5
5
  Author-email: "beda.software" <aidbox-python-sdk@beda.software>
6
6
  License: MIT License
@@ -1,5 +1,5 @@
1
1
  __title__ = "aidbox-python-sdk"
2
- __version__ = "0.1.22"
2
+ __version__ = "0.1.23"
3
3
  __author__ = "beda.software"
4
4
  __license__ = "None"
5
5
  __copyright__ = "Copyright 2024 beda.software"
@@ -75,8 +75,9 @@ class SDK:
75
75
  "url": f"/{entity}?_id={resource_id}",
76
76
  }
77
77
  entries.append(entry)
78
- bundle = client.resource("Bundle", type="transaction", entry=entries)
79
- await bundle.save()
78
+ if len(entries) > 0:
79
+ bundle = client.resource("Bundle", type="transaction", entry=entries)
80
+ await bundle.save()
80
81
 
81
82
  def build_manifest(self):
82
83
  if self._resources:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aidbox-python-sdk
3
- Version: 0.1.22
3
+ Version: 0.1.23
4
4
  Summary: Aidbox SDK for python
5
5
  Author-email: "beda.software" <aidbox-python-sdk@beda.software>
6
6
  License: MIT License
@@ -8,7 +8,8 @@ from fhirpathpy import evaluate
8
8
  import main
9
9
 
10
10
 
11
- @pytest.mark.asyncio
11
+ @pytest.mark.skip("Skipped because of regression in Aidbox 2510")
12
+ @pytest.mark.asyncio()
12
13
  @pytest.mark.parametrize(
13
14
  ("expression", "expected"),
14
15
  [