hexkit 3.8.1__tar.gz → 3.8.2__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 (56) hide show
  1. {hexkit-3.8.1 → hexkit-3.8.2}/LICENSE +1 -1
  2. {hexkit-3.8.1/src/hexkit.egg-info → hexkit-3.8.2}/PKG-INFO +3 -2
  3. {hexkit-3.8.1 → hexkit-3.8.2}/pyproject.toml +4 -3
  4. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit/__init__.py +1 -1
  5. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit/__main__.py +1 -1
  6. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit/base.py +1 -1
  7. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit/config.py +1 -1
  8. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit/correlation.py +1 -1
  9. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit/custom_types.py +1 -1
  10. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit/log.py +1 -1
  11. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit/protocols/__init__.py +1 -1
  12. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit/protocols/dao.py +1 -1
  13. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit/protocols/daopub.py +1 -1
  14. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit/protocols/daosub.py +1 -1
  15. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit/protocols/eventpub.py +1 -1
  16. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit/protocols/eventsub.py +1 -1
  17. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit/protocols/objstorage.py +1 -1
  18. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit/providers/__init__.py +1 -1
  19. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit/providers/akafka/__init__.py +1 -1
  20. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit/providers/akafka/config.py +1 -1
  21. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit/providers/akafka/provider/__init__.py +1 -1
  22. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit/providers/akafka/provider/daosub.py +1 -1
  23. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit/providers/akafka/provider/eventpub.py +1 -1
  24. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit/providers/akafka/provider/eventsub.py +1 -1
  25. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit/providers/akafka/provider/utils.py +1 -1
  26. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit/providers/akafka/testcontainer.py +1 -1
  27. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit/providers/akafka/testutils.py +2 -2
  28. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit/providers/mongodb/__init__.py +1 -1
  29. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit/providers/mongodb/provider.py +1 -1
  30. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit/providers/mongodb/testutils.py +1 -1
  31. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit/providers/mongokafka/__init__.py +1 -1
  32. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit/providers/mongokafka/provider.py +1 -1
  33. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit/providers/mongokafka/testutils.py +1 -1
  34. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit/providers/s3/__init__.py +1 -1
  35. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit/providers/s3/provider.py +13 -7
  36. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit/providers/s3/test_files/__init__.py +1 -1
  37. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit/providers/s3/testutils/__init__.py +1 -1
  38. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit/providers/s3/testutils/_fixtures.py +1 -1
  39. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit/providers/s3/testutils/_typical_workflow.py +1 -1
  40. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit/providers/s3/testutils/_utils.py +1 -1
  41. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit/providers/testing/__init__.py +1 -1
  42. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit/providers/testing/eventpub.py +1 -1
  43. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit/utils.py +2 -2
  44. {hexkit-3.8.1 → hexkit-3.8.2/src/hexkit.egg-info}/PKG-INFO +3 -2
  45. {hexkit-3.8.1 → hexkit-3.8.2}/MANIFEST.in +0 -0
  46. {hexkit-3.8.1 → hexkit-3.8.2}/README.md +0 -0
  47. {hexkit-3.8.1 → hexkit-3.8.2}/setup.cfg +0 -0
  48. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit/providers/s3/test_files/test_file1.yaml +0 -0
  49. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit/providers/s3/test_files/test_file2.yaml +0 -0
  50. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit/providers/s3/test_files/test_file3.yaml +0 -0
  51. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit/providers/s3/test_files/test_file4.yaml +0 -0
  52. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit/py.typed +0 -0
  53. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit.egg-info/SOURCES.txt +0 -0
  54. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit.egg-info/dependency_links.txt +0 -0
  55. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit.egg-info/requires.txt +0 -0
  56. {hexkit-3.8.1 → hexkit-3.8.2}/src/hexkit.egg-info/top_level.txt +0 -0
@@ -186,7 +186,7 @@
186
186
  same "printed page" as the copyright notice for easier
187
187
  identification within third-party archives.
188
188
 
189
- Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
189
+ Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
190
190
  for the German Human Genome-Phenome Archive (GHGA)
191
191
 
192
192
  Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: hexkit
3
- Version: 3.8.1
3
+ Version: 3.8.2
4
4
  Summary: A Toolkit for Building Microservices using the Hexagonal Architecture
5
5
  Author-email: "German Human Genome Phenome Archive (GHGA)" <contact@ghga.de>
6
6
  License: Apache 2.0
@@ -42,6 +42,7 @@ Provides-Extra: test
42
42
  Requires-Dist: hexkit[test-akafka,test-mongodb,test-s3]; extra == "test"
43
43
  Provides-Extra: all
44
44
  Requires-Dist: hexkit[test]; extra == "all"
45
+ Dynamic: license-file
45
46
 
46
47
  ![tests](https://github.com/ghga-de/hexkit/actions/workflows/tests.yaml/badge.svg)
47
48
  [![PyPI version shields.io](https://img.shields.io/pypi/v/hexkit.svg)](https://pypi.python.org/pypi/hexkit/)
@@ -1,6 +1,6 @@
1
1
  [build-system]
2
2
  requires = [
3
- "setuptools>=69",
3
+ "setuptools>=78.1",
4
4
  ]
5
5
  build-backend = "setuptools.build_meta"
6
6
 
@@ -23,7 +23,7 @@ classifiers = [
23
23
  "Intended Audience :: Developers",
24
24
  ]
25
25
  name = "hexkit"
26
- version = "3.8.1"
26
+ version = "3.8.2"
27
27
  description = "A Toolkit for Building Microservices using the Hexagonal Architecture"
28
28
  dependencies = [
29
29
  "pydantic >=2, <3",
@@ -175,8 +175,9 @@ check_untyped_defs = true
175
175
  no_site_packages = false
176
176
 
177
177
  [tool.pytest.ini_options]
178
- minversion = "8.0"
178
+ minversion = "8.3"
179
179
  asyncio_mode = "strict"
180
+ asyncio_default_fixture_loop_scope = "function"
180
181
 
181
182
  [tool.coverage.paths]
182
183
  source = [
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -153,7 +153,7 @@ def check_recorded_events(
153
153
 
154
154
  def get_field_mismatch_error(field, index):
155
155
  return get_detailed_error(
156
- details=f"the {field} of the recorded event no. {index+1}"
156
+ details=f"the {field} of the recorded event no. {index + 1}"
157
157
  " does not match the expectations"
158
158
  )
159
159
 
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -410,20 +410,26 @@ class S3ObjectStorage(ObjectStorageProtocol):
410
410
 
411
411
  (S3 allows multiple ongoing multi-part uploads.)
412
412
  """
413
+ uploads = []
413
414
  try:
414
- uploads_info = await asyncio.to_thread(
415
- self._client.list_multipart_uploads,
415
+ response_iter = await asyncio.to_thread(
416
+ self._client.get_paginator("list_multipart_uploads").paginate,
416
417
  Bucket=bucket_id,
417
418
  )
419
+ for response_page in response_iter:
420
+ uploads.extend(
421
+ [
422
+ upload["UploadId"]
423
+ for upload in response_page.get("Uploads", [])
424
+ if upload["Key"] == object_id
425
+ ]
426
+ )
418
427
  except botocore.exceptions.ClientError as error:
419
428
  raise self._translate_s3_client_errors(
420
429
  error, bucket_id=bucket_id, object_id=object_id
421
430
  ) from error
422
431
 
423
- upload_list = uploads_info.get("Uploads", [])
424
- return [
425
- upload["UploadId"] for upload in upload_list if upload["Key"] == object_id
426
- ]
432
+ return uploads
427
433
 
428
434
  async def _assert_no_multipart_upload(self, *, bucket_id: str, object_id: str):
429
435
  """Ensure that there are no active multi-part uploads for the given object."""
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -69,7 +69,7 @@ def calc_part_size(*, file_size: int, preferred_part_size: Optional[int] = None)
69
69
 
70
70
  if file_size > FILE_SIZE_LIMIT:
71
71
  raise ValueError(
72
- f"""Provided file size of {file_size/1024**4:2.f}TiB
72
+ f"""Provided file size of {file_size / 1024**4:2.f}TiB
73
73
  exceeds maximum allowed file size of 5 TiB"""
74
74
  )
75
75
 
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: hexkit
3
- Version: 3.8.1
3
+ Version: 3.8.2
4
4
  Summary: A Toolkit for Building Microservices using the Hexagonal Architecture
5
5
  Author-email: "German Human Genome Phenome Archive (GHGA)" <contact@ghga.de>
6
6
  License: Apache 2.0
@@ -42,6 +42,7 @@ Provides-Extra: test
42
42
  Requires-Dist: hexkit[test-akafka,test-mongodb,test-s3]; extra == "test"
43
43
  Provides-Extra: all
44
44
  Requires-Dist: hexkit[test]; extra == "all"
45
+ Dynamic: license-file
45
46
 
46
47
  ![tests](https://github.com/ghga-de/hexkit/actions/workflows/tests.yaml/badge.svg)
47
48
  [![PyPI version shields.io](https://img.shields.io/pypi/v/hexkit.svg)](https://pypi.python.org/pypi/hexkit/)
File without changes
File without changes
File without changes
File without changes