tracktolib 0.51.0__tar.gz → 0.51.1__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.
- {tracktolib-0.51.0 → tracktolib-0.51.1}/PKG-INFO +1 -1
- {tracktolib-0.51.0 → tracktolib-0.51.1}/pyproject.toml +2 -2
- {tracktolib-0.51.0 → tracktolib-0.51.1}/tracktolib/pg/query.py +0 -6
- {tracktolib-0.51.0 → tracktolib-0.51.1}/LICENSE +0 -0
- {tracktolib-0.51.0 → tracktolib-0.51.1}/README.md +0 -0
- {tracktolib-0.51.0 → tracktolib-0.51.1}/tracktolib/__init__.py +0 -0
- {tracktolib-0.51.0 → tracktolib-0.51.1}/tracktolib/api.py +0 -0
- {tracktolib-0.51.0 → tracktolib-0.51.1}/tracktolib/http_utils.py +0 -0
- {tracktolib-0.51.0 → tracktolib-0.51.1}/tracktolib/logs.py +0 -0
- {tracktolib-0.51.0 → tracktolib-0.51.1}/tracktolib/pg/__init__.py +0 -0
- {tracktolib-0.51.0 → tracktolib-0.51.1}/tracktolib/pg/utils.py +0 -0
- {tracktolib-0.51.0 → tracktolib-0.51.1}/tracktolib/pg_sync.py +0 -0
- {tracktolib-0.51.0 → tracktolib-0.51.1}/tracktolib/pg_utils.py +0 -0
- {tracktolib-0.51.0 → tracktolib-0.51.1}/tracktolib/s3/__init__.py +0 -0
- {tracktolib-0.51.0 → tracktolib-0.51.1}/tracktolib/s3/minio.py +0 -0
- {tracktolib-0.51.0 → tracktolib-0.51.1}/tracktolib/s3/s3.py +0 -0
- {tracktolib-0.51.0 → tracktolib-0.51.1}/tracktolib/tests.py +0 -0
- {tracktolib-0.51.0 → tracktolib-0.51.1}/tracktolib/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "tracktolib"
|
|
3
|
-
version = "0.51.
|
|
3
|
+
version = "0.51.1"
|
|
4
4
|
description = "Utility library for python"
|
|
5
5
|
authors = ["Julien Brayere <julien.brayere@tracktor.fr>"]
|
|
6
6
|
license = "MIT"
|
|
@@ -81,7 +81,7 @@ pythonPlatform = "Linux"
|
|
|
81
81
|
|
|
82
82
|
[tool.commitizen]
|
|
83
83
|
name = "cz_conventional_commits"
|
|
84
|
-
version = "0.51.
|
|
84
|
+
version = "0.51.1"
|
|
85
85
|
tag_format = "$version"
|
|
86
86
|
version_files = [
|
|
87
87
|
"pyproject.toml:version"
|
|
@@ -206,10 +206,6 @@ def get_update_fields(
|
|
|
206
206
|
_merge_keys = set(merge_keys or [])
|
|
207
207
|
_ignore_keys = ignore_keys or []
|
|
208
208
|
|
|
209
|
-
_invalid_merge_keys = _merge_keys - set(keys)
|
|
210
|
-
if _invalid_merge_keys:
|
|
211
|
-
raise ValueError(f"Merge keys not in keys found: {_invalid_merge_keys}")
|
|
212
|
-
|
|
213
209
|
for k in keys:
|
|
214
210
|
v = item[k]
|
|
215
211
|
if k in _ignore_keys:
|
|
@@ -397,8 +393,6 @@ async def update_one(
|
|
|
397
393
|
query = PGUpdateQuery(
|
|
398
394
|
table=table, items=[item], start_from=start_from, where_keys=keys, where=where, merge_keys=merge_keys
|
|
399
395
|
)
|
|
400
|
-
print(query.query)
|
|
401
|
-
print(query.values)
|
|
402
396
|
await conn.execute(query.query, *args, *query.values)
|
|
403
397
|
|
|
404
398
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|