tracktolib 0.48.0__py3-none-any.whl → 0.48.1__py3-none-any.whl

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.
tracktolib/api.py CHANGED
@@ -319,7 +319,8 @@ class CamelCaseModel(BaseModel):
319
319
 
320
320
 
321
321
  def check_status(resp, status: int = starlette.status.HTTP_200_OK):
322
- assert resp.status_code == status, json.dumps(resp.json(), indent=4)
322
+ if resp.status_code != status:
323
+ raise AssertionError(json.dumps(resp.json(), indent=4))
323
324
 
324
325
 
325
326
  def generate_list_name_model(model: Type[B], status: int | None = None) -> dict:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tracktolib
3
- Version: 0.48.0
3
+ Version: 0.48.1
4
4
  Summary: Utility library for python
5
5
  Home-page: https://github.com/tracktor/tracktolib
6
6
  License: MIT
@@ -1,6 +1,6 @@
1
1
  LICENSE,sha256=uUanH0X7SeZEPdsRTHegMSMTiIHMurt9H0jSwEwKE1Y,1081
2
2
  tracktolib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- tracktolib/api.py,sha256=YZpXiwPxyPmOmZl8QJA-tRccSpU0YcGfLwRWAu3zyy8,9597
3
+ tracktolib/api.py,sha256=UaALaBPTbWICGVxzZIxvSVVWi_DjMzfjtB_vGc-K7sI,9623
4
4
  tracktolib/http_utils.py,sha256=dqjRJTNCo1qDnvQBTcImw1ibi1LnqETrpWDAU5txBHs,2633
5
5
  tracktolib/logs.py,sha256=enezPjBU4v2s8knG_V6kIbQsoyxfNIKEpKVSSkr_2U8,2212
6
6
  tracktolib/pg/__init__.py,sha256=32kKBJzIDyppszZMAOSMgM3ggz7Ow0TaNKiMs740gyw,333
@@ -13,7 +13,7 @@ tracktolib/s3/minio.py,sha256=JaRpHOM6NqpMieplp58Fpc7uTh7PItyP8On7jMXhB-Q,1234
13
13
  tracktolib/s3/s3.py,sha256=d0Q63Zb62ef4jAt05zQwpgYvAoxHC9kSQuHzzK90VvE,4825
14
14
  tracktolib/tests.py,sha256=FS0uae3ShiiJOD7WE2WEv9h3QwRJCbLDHpe_8Ikc0j0,554
15
15
  tracktolib/utils.py,sha256=usiUYVwMa43RvqpKJmQDmzhvfahSVMW0OAcyVWWfPkg,5323
16
- tracktolib-0.48.0.dist-info/LICENSE,sha256=uUanH0X7SeZEPdsRTHegMSMTiIHMurt9H0jSwEwKE1Y,1081
17
- tracktolib-0.48.0.dist-info/WHEEL,sha256=vxFmldFsRN_Hx10GDvsdv1wroKq8r5Lzvjp6GZ4OO8c,88
18
- tracktolib-0.48.0.dist-info/METADATA,sha256=TGeH5iSuqaYGes5t4WMhY6a78oWjWgT-9rtYOEnUCCU,3610
19
- tracktolib-0.48.0.dist-info/RECORD,,
16
+ tracktolib-0.48.1.dist-info/LICENSE,sha256=uUanH0X7SeZEPdsRTHegMSMTiIHMurt9H0jSwEwKE1Y,1081
17
+ tracktolib-0.48.1.dist-info/WHEEL,sha256=vxFmldFsRN_Hx10GDvsdv1wroKq8r5Lzvjp6GZ4OO8c,88
18
+ tracktolib-0.48.1.dist-info/METADATA,sha256=HbP82J7Y04AIb7oBa1WGbgUSUXBCNfkFe7QeQQoBSQo,3610
19
+ tracktolib-0.48.1.dist-info/RECORD,,