PySimultan 0.4.21__py3-none-any.whl → 0.4.22__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
PySimultan2/__about__.py CHANGED
@@ -1 +1 @@
1
- version = '0.4.21'
1
+ version = '0.4.22'
@@ -401,10 +401,14 @@ class ComponentDictionary(SimultanObject):
401
401
  logger.error(f'Could not get value for key {key} ({text_or_key}) in {self}:\n{e}')
402
402
  raise ValueError(f'Could not get value for key {key} ({text_or_key}) in {self}:\n{e}')
403
403
 
404
- self._dict[key] = get_obj_value(val,
405
- data_model=data_model,
406
- object_mapper=object_mapper)
407
- return self._dict[key]
404
+ val = get_obj_value(val,
405
+ data_model=data_model,
406
+ object_mapper=object_mapper)
407
+
408
+ if val is not None:
409
+ self._dict[key] = val
410
+
411
+ return self._dict.get(key, None)
408
412
 
409
413
  def __setitem__(self, key, value):
410
414
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: PySimultan
3
- Version: 0.4.21
3
+ Version: 0.4.22
4
4
  Project-URL: Documentation, https://github.com/Bühler Maximilian/PySimultan2#readme
5
5
  Project-URL: Issues, https://github.com/Bühler Maximilian/PySimultan2/issues
6
6
  Project-URL: Source, https://github.com/Bühler Maximilian/PySimultan2
@@ -1,7 +1,7 @@
1
- PySimultan2/__about__.py,sha256=BcY2O7QAmjmLO_2EMS3Qs445TkjNXhtVzC4D0HWZntw,20
1
+ PySimultan2/__about__.py,sha256=P-nQJsKMEB57RcETBb098-YVGYuTXD81e-dFo3rZ2so,20
2
2
  PySimultan2/__init__.py,sha256=cabTN1Oz8xtFM31ouBKg5lwLqW5vtexDP669PYyNLnA,3224
3
3
  PySimultan2/data_model.py,sha256=xosu5TAfgsrxwyhd6SfHFp4Wvo1_YtxdHsSuZmuNVJU,27022
4
- PySimultan2/default_types.py,sha256=v8kfoR-csDlYEDUBk9rM89LcoH2Yyox7PbO1y2zPsmc,23862
4
+ PySimultan2/default_types.py,sha256=7M6-nEvyoGr9gFoPlmyy9jrglEcjosc7e9XBsQfoDjY,23912
5
5
  PySimultan2/files.py,sha256=8F1QC9nTsTSrCpu5vGx1xGx-7UgkDwoICXau_5j7UzI,12725
6
6
  PySimultan2/multi_values.py,sha256=ZFXlTLuZo32x7_7diYAp2XEjp5uwgHLgNOzN7v74-5I,13650
7
7
  PySimultan2/object_mapper.py,sha256=yYVGeIzkdYvNMqW_kz9NwVxi6IJWGAqLS8CrYzW2oEg,13210
@@ -76,7 +76,7 @@ PySimultan2/resources/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3h
76
76
  PySimultan2/resources/assimp.dll,sha256=HwfDwXqoPDTFRyoQpA3qmgZoUdFtziJkV5fNtktEZEU,6081536
77
77
  PySimultan2/resources/defaultsettings.xml,sha256=s6Tk1tubLz5UYqXZWpD42EDHzedemRY1nEneoIVcUfg,392
78
78
  PySimultan2/resources/setup.bat,sha256=fjvvYfVM6TalS-QTSiKAbAId5nTsk8kGGo06ba-wWaY,32
79
- pysimultan-0.4.21.dist-info/METADATA,sha256=vPm27zwQIfL9aOCtdCIFRu5_FiCCBS5KZ3AoJEsr_nY,2703
80
- pysimultan-0.4.21.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
81
- pysimultan-0.4.21.dist-info/licenses/LICENSE.txt,sha256=pmSr98k6N005KMojnZxzLGRuRlDjDx3PUrK1lFj53HA,1126
82
- pysimultan-0.4.21.dist-info/RECORD,,
79
+ pysimultan-0.4.22.dist-info/METADATA,sha256=Paj_DgUNejfkhUoBgU4-jEfanNmt2YIJyeWUS2gIWTg,2703
80
+ pysimultan-0.4.22.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
81
+ pysimultan-0.4.22.dist-info/licenses/LICENSE.txt,sha256=pmSr98k6N005KMojnZxzLGRuRlDjDx3PUrK1lFj53HA,1126
82
+ pysimultan-0.4.22.dist-info/RECORD,,