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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tracktolib
3
- Version: 0.51.0
3
+ Version: 0.51.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
  [tool.poetry]
2
2
  name = "tracktolib"
3
- version = "0.51.0"
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.0"
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