tracktolib 0.58.0__py3-none-any.whl → 0.59.0__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 +2 -1
- tracktolib/pg_sync.py +3 -1
- {tracktolib-0.58.0.dist-info → tracktolib-0.59.0.dist-info}/METADATA +4 -2
- {tracktolib-0.58.0.dist-info → tracktolib-0.59.0.dist-info}/RECORD +6 -6
- {tracktolib-0.58.0.dist-info → tracktolib-0.59.0.dist-info}/WHEEL +1 -1
- {tracktolib-0.58.0.dist-info → tracktolib-0.59.0.dist-info/licenses}/LICENSE +0 -0
tracktolib/api.py
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import json
|
|
2
2
|
import warnings
|
|
3
|
+
from collections.abc import Mapping
|
|
3
4
|
from dataclasses import field, dataclass
|
|
4
5
|
from inspect import getdoc
|
|
5
6
|
from typing import (
|
|
@@ -49,7 +50,7 @@ def Depends(
|
|
|
49
50
|
|
|
50
51
|
B = TypeVar("B", bound=BaseModel | None | Sequence[BaseModel])
|
|
51
52
|
|
|
52
|
-
Response =
|
|
53
|
+
Response = Mapping | Sequence[Mapping] | B
|
|
53
54
|
|
|
54
55
|
Method = Literal["GET", "POST", "DELETE", "PATCH", "PUT"]
|
|
55
56
|
|
tracktolib/pg_sync.py
CHANGED
|
@@ -94,7 +94,9 @@ def insert_many(engine: Connection | Cursor, table: LiteralString, data: Sequenc
|
|
|
94
94
|
|
|
95
95
|
|
|
96
96
|
@overload
|
|
97
|
-
def insert_one(
|
|
97
|
+
def insert_one(
|
|
98
|
+
engine: Connection | Cursor, table: LiteralString, data: Mapping[str, Any], returning: None = None
|
|
99
|
+
) -> None: ...
|
|
98
100
|
|
|
99
101
|
|
|
100
102
|
@overload
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: tracktolib
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.59.0
|
|
4
4
|
Summary: Utility library for python
|
|
5
5
|
License: MIT
|
|
6
|
+
License-File: LICENSE
|
|
6
7
|
Keywords: utility
|
|
7
8
|
Author: Julien Brayere
|
|
8
9
|
Author-email: julien.brayere@tracktor.fr
|
|
@@ -12,6 +13,7 @@ Classifier: Operating System :: OS Independent
|
|
|
12
13
|
Classifier: Programming Language :: Python :: 3
|
|
13
14
|
Classifier: Programming Language :: Python :: 3.12
|
|
14
15
|
Classifier: Programming Language :: Python :: 3.13
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
15
17
|
Provides-Extra: api
|
|
16
18
|
Provides-Extra: http
|
|
17
19
|
Provides-Extra: logs
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
tracktolib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
tracktolib/api.py,sha256=
|
|
2
|
+
tracktolib/api.py,sha256=ZLMgjH3Y8r3MpXc8m3IuZbzTj3fgrZKZORtSVgbuP-M,10221
|
|
3
3
|
tracktolib/http_utils.py,sha256=c10JGmHaBw3VSDMYhz2dvVw2lo4PUAq1xMub74I7xDc,2625
|
|
4
4
|
tracktolib/logs.py,sha256=xgfRDnviZPr9qinSOgab8neIWPv9Rj2xzDHnIBvWQcU,2201
|
|
5
5
|
tracktolib/pg/__init__.py,sha256=j67e3B3gBbCHLD20QBybptmNdbbVMzNhZE6XjIPuKVo,349
|
|
6
6
|
tracktolib/pg/query.py,sha256=MBYOTL9aLnYRBhaLy8-P6uGNXOmyluejNyUdt3Gfx5M,14504
|
|
7
7
|
tracktolib/pg/utils.py,sha256=cL24KEt4SWJQ7LJPzaO3c8Xg0ZLmjhn22DtTWg86nwc,6324
|
|
8
|
-
tracktolib/pg_sync.py,sha256=
|
|
8
|
+
tracktolib/pg_sync.py,sha256=MKDaV7dYsRy59Y0EE5RGZL0DlZ-RUdBeaN9eSBwiQJg,6718
|
|
9
9
|
tracktolib/pg_utils.py,sha256=VXPpy1jGq6aCgTlfFJDIrq6JDujR83JN5ZRiCi8Lx4E,2582
|
|
10
10
|
tracktolib/s3/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
11
|
tracktolib/s3/minio.py,sha256=wMEjkSes9Fp39fD17IctALpD6zB2xwDRQEmO7Vzan3g,1387
|
|
12
12
|
tracktolib/s3/s3.py,sha256=0HbSAPoaup5-W4LK54zRCjrQ5mr8OWR-N9WjW99Q4aw,5937
|
|
13
13
|
tracktolib/tests.py,sha256=gKE--epQjgMZGXc5ydbl4zjOdmwztJS42UMV0p4hXEA,399
|
|
14
14
|
tracktolib/utils.py,sha256=ysTBF9V35fVXQVBPk0kfE_84SGRxzrayqmg9RbtoJq4,5761
|
|
15
|
-
tracktolib-0.
|
|
16
|
-
tracktolib-0.
|
|
17
|
-
tracktolib-0.
|
|
18
|
-
tracktolib-0.
|
|
15
|
+
tracktolib-0.59.0.dist-info/METADATA,sha256=DLi6sZ3qfyvPFWz06zWPOe8-eszB5Dv1CSIcIENi8B8,3777
|
|
16
|
+
tracktolib-0.59.0.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
|
|
17
|
+
tracktolib-0.59.0.dist-info/licenses/LICENSE,sha256=uUanH0X7SeZEPdsRTHegMSMTiIHMurt9H0jSwEwKE1Y,1081
|
|
18
|
+
tracktolib-0.59.0.dist-info/RECORD,,
|
|
File without changes
|