database-wrapper 0.1.82__py3-none-any.whl → 0.1.84__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.
@@ -3,7 +3,7 @@ from typing import Any
3
3
  CONFIG: dict[str, Any] = {
4
4
  # These are supposed to be set automatically by a git pre-compile script
5
5
  # They are one git commit hash behind, if used automatically
6
- "git_commit_hash": "acf70193c417aa3db0b77e336ab9c9defee1e420",
7
- "git_commit_date": "25.04.2025 18:16",
8
- "app_version": "0.1.82",
6
+ "git_commit_hash": "752a9e6288e57b830a590556122f425e3adef59b",
7
+ "git_commit_date": "25.04.2025 18:45",
8
+ "app_version": "0.1.84",
9
9
  }
@@ -128,6 +128,10 @@ class DBDataModel:
128
128
  metadata = cast(MetadataDict, fieldObj.metadata)
129
129
  value = getattr(self, fieldName)
130
130
 
131
+ # If value is not set, we skip it
132
+ if value is None:
133
+ continue
134
+
131
135
  # If serialize is set, and serialize is a SerializeType,
132
136
  # we use our serialization function
133
137
  # Here we actually need to deserialize the value to correct class type
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: database_wrapper
3
- Version: 0.1.82
3
+ Version: 0.1.84
4
4
  Summary: A Different Approach to Database Wrappers in Python
5
5
  Author-email: Gints Murans <gm@gm.lv>
6
6
  License: GNU General Public License v3.0 (GPL-3.0)
@@ -33,13 +33,13 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
33
33
  Requires-Python: >=3.8
34
34
  Description-Content-Type: text/markdown
35
35
  Provides-Extra: pgsql
36
- Requires-Dist: database_wrapper_pgsql==0.1.82; extra == "pgsql"
36
+ Requires-Dist: database_wrapper_pgsql==0.1.84; extra == "pgsql"
37
37
  Provides-Extra: mysql
38
- Requires-Dist: database_wrapper_mysql==0.1.82; extra == "mysql"
38
+ Requires-Dist: database_wrapper_mysql==0.1.84; extra == "mysql"
39
39
  Provides-Extra: mssql
40
- Requires-Dist: database_wrapper_mssql==0.1.82; extra == "mssql"
40
+ Requires-Dist: database_wrapper_mssql==0.1.84; extra == "mssql"
41
41
  Provides-Extra: sqlite
42
- Requires-Dist: database_wrapper_sqlite==0.1.82; extra == "sqlite"
42
+ Requires-Dist: database_wrapper_sqlite==0.1.84; extra == "sqlite"
43
43
  Provides-Extra: all
44
44
  Requires-Dist: database_wrapper[mssql,mysql,pgsql,sqlite]; extra == "all"
45
45
  Provides-Extra: dev
@@ -1,9 +1,9 @@
1
1
  database_wrapper/__init__.py,sha256=p-HLz9_zByIUeAS1tVxS7ZieslsryHSLw_IKZphqB7w,1200
2
2
  database_wrapper/abc.py,sha256=JiQo6Yfv7xALrrHeICJCSgmyP2gHrp16Ov83mPBTGbE,2058
3
3
  database_wrapper/common.py,sha256=fsxe28o_4xCrotPbB274dmzQ9rOyes0sBtcHog-9RVc,258
4
- database_wrapper/config.py,sha256=uDG1MLLA_nbHBcdYzjnAF9Hqy7kTecJLve8-8btNFOk,334
4
+ database_wrapper/config.py,sha256=soraOSueJujXaVQOVZpPXR117obQoLus4e_JVnQLH8k,334
5
5
  database_wrapper/db_backend.py,sha256=TGqnRJ1Jsk3GZibpXRanMDTEJlkc4POEoZZH506vtVs,7480
6
- database_wrapper/db_data_model.py,sha256=DqlEU0RUkh7hDcVxNeQlLs1EC0sPuo3k8LvQbAxiHr4,14079
6
+ database_wrapper/db_data_model.py,sha256=3NcxWr6Sk_Ixx1QPLWZfJLwxVqN391IZ1_K4WZMNJRE,14181
7
7
  database_wrapper/db_wrapper.py,sha256=nsFHax43Zz8L3sBih9kVlnAvZWC2hv9U7V_MICbE0RY,14353
8
8
  database_wrapper/db_wrapper_async.py,sha256=8D4Oa0F6uPdjpH-cvmUPXLmbz35NLA7oa2MShIPourc,14737
9
9
  database_wrapper/db_wrapper_mixin.py,sha256=GR6Zn-2GygzzSaFWPIqkiI6mZ8oWqKY_Sc-MeUp6SG8,9966
@@ -11,7 +11,7 @@ database_wrapper/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
11
  database_wrapper/serialization.py,sha256=McLVLRlJ60OI2xHwnKD-0d3qHb5U8KTpz1P19SphxL8,2068
12
12
  database_wrapper/utils/__init__.py,sha256=uC8YaJqfyFIZIeNdTRTbZwcOUVhmnS5eyOG-9gMs70c,96
13
13
  database_wrapper/utils/dataclass_addons.py,sha256=r8DD40tXA_DLMQJx62UqVaRe4Gr9BSOmChLRhxawet4,770
14
- database_wrapper-0.1.82.dist-info/METADATA,sha256=eLYkKGyF8JxFL4ofttSLRL38-ao9899pGph4whrw6N4,3440
15
- database_wrapper-0.1.82.dist-info/WHEEL,sha256=SmOxYU7pzNKBqASvQJ7DjX3XGUF92lrGhMb3R6_iiqI,91
16
- database_wrapper-0.1.82.dist-info/top_level.txt,sha256=QcnS4ocJygxcKE5eoOqriuja306oVu-zJRn6yjRRhBw,17
17
- database_wrapper-0.1.82.dist-info/RECORD,,
14
+ database_wrapper-0.1.84.dist-info/METADATA,sha256=Vd-5tZjY2uqvRnDCpQT-wLh4wu5DGTlNUdyiHCKSKzs,3440
15
+ database_wrapper-0.1.84.dist-info/WHEEL,sha256=SmOxYU7pzNKBqASvQJ7DjX3XGUF92lrGhMb3R6_iiqI,91
16
+ database_wrapper-0.1.84.dist-info/top_level.txt,sha256=QcnS4ocJygxcKE5eoOqriuja306oVu-zJRn6yjRRhBw,17
17
+ database_wrapper-0.1.84.dist-info/RECORD,,