iqm-exa-common 26.15__py3-none-any.whl → 26.16__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.
@@ -339,7 +339,7 @@ class SettingNode(BaseModel):
339
339
  if isinstance(child, Setting):
340
340
  update_dict = {"path": update_path}
341
341
  if self.align_name:
342
- update_dict["parameter"] = child.parameter.copy(name=update_path)
342
+ update_dict["parameter"] = child.parameter.model_copy(update={"name": update_path})
343
343
  self[key] = child.model_copy(update=update_dict)
344
344
  elif self.align_name:
345
345
  self[key] = Setting(
@@ -574,9 +574,9 @@ class SettingNode(BaseModel):
574
574
  for key, item in first.settings.items():
575
575
  if merge_nones or item.value is not None:
576
576
  if align_name:
577
- new[key] = item.copy(name=item.name.replace(f"{first.name}.", ""))
577
+ new[key] = item.model_copy(update={"name": item.name.replace(f"{first.name}.", "")})
578
578
  else:
579
- new.settings[key] = item.copy()
579
+ new.settings[key] = item.model_copy()
580
580
  for key, item in first.subtrees.items():
581
581
  item_copy = item.model_copy(update={"name": item.name.replace(f"{first.name}.", "")}, deep=deep_copy)
582
582
  subs = new if align_name else new.subtrees
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: iqm-exa-common
3
- Version: 26.15
3
+ Version: 26.16
4
4
  Summary: Framework for control and measurement of superconducting qubits: common library
5
5
  Author-email: IQM Finland Oy <info@meetiqm.com>
6
6
  License: Apache License
@@ -26,7 +26,7 @@ exa/common/control/sweep/option/sweep_options.py,sha256=BhKB7RHP0VXJ9iUQKVzeQOM4
26
26
  exa/common/data/__init__.py,sha256=F5SRe5QHBTjef4XJVQ63kO5Oxc_AiZnPbV560i7La0Y,644
27
27
  exa/common/data/base_model.py,sha256=Zap09R91zHY3iYtfO-SqxfKdewCf3q5FNi1uefTtSfQ,1796
28
28
  exa/common/data/parameter.py,sha256=OTlBPtuMkiHNozIVzsgUn5wOg3cvaXUcqVpTOHyN12c,23193
29
- exa/common/data/setting_node.py,sha256=p-RnZc1H0Nwxanexoejay8c0TsDCDggDQB1Z3S_YEjg,43190
29
+ exa/common/data/setting_node.py,sha256=6Sqim4PkD9mL-9sVwokTxQQIrDZhzhld-VSp8L3HH0w,43232
30
30
  exa/common/data/settingnode_v2.html.jinja2,sha256=mo-rlLLmU-Xxf6znJAisispAZK8sbV-2C13byKAtj_Q,3166
31
31
  exa/common/data/value.py,sha256=mtMws5UPGx1pCADK6Q2Tx4BwCXznvVRSNQRfcQ3NMmY,1853
32
32
  exa/common/errors/__init__.py,sha256=ArMBdpmx1EUenBpzrSNG63kmUf7PM0gCqSYnaCnL9Qk,597
@@ -50,8 +50,8 @@ exa/common/qcm_data/qcm_data_client.py,sha256=0clAbZ3HPBH9lFOe8cVmaq8hPHG5m3pyPG
50
50
  exa/common/sweep/__init__.py,sha256=uEKk5AtzSgSnf8Y0geRPwUpqXIBIXpeCxsN64sX7F1o,591
51
51
  exa/common/sweep/database_serialization.py,sha256=NUu1umxRQZpKtRmw1vNDsSbnofqbHvKFg_xQ2mdhY6k,7469
52
52
  exa/common/sweep/util.py,sha256=-QE2AaH-WDkYAVH5-Z-30leLgY0x4efmby4kc1JTCgY,3732
53
- iqm_exa_common-26.15.dist-info/LICENSE.txt,sha256=R6Q7eUrLyoCQgWYorQ8WJmVmWKYU3dxA3jYUp0wwQAw,11332
54
- iqm_exa_common-26.15.dist-info/METADATA,sha256=Xt7Adxr1-WTflkw4S8laQ5PqkhmerRcDMeBotsugcKY,14626
55
- iqm_exa_common-26.15.dist-info/WHEEL,sha256=y4mX-SOX4fYIkonsAGA5N0Oy-8_gI4FXw5HNI1xqvWg,91
56
- iqm_exa_common-26.15.dist-info/top_level.txt,sha256=Clphg2toaZ3_jSFRPhjMNEmLurkMNMc4lkK2EFYsSlM,4
57
- iqm_exa_common-26.15.dist-info/RECORD,,
53
+ iqm_exa_common-26.16.dist-info/LICENSE.txt,sha256=R6Q7eUrLyoCQgWYorQ8WJmVmWKYU3dxA3jYUp0wwQAw,11332
54
+ iqm_exa_common-26.16.dist-info/METADATA,sha256=Mrmw0Ors5s92UMuqpn25q62lfXHGs2X9prDgK8k08Dk,14626
55
+ iqm_exa_common-26.16.dist-info/WHEEL,sha256=y4mX-SOX4fYIkonsAGA5N0Oy-8_gI4FXw5HNI1xqvWg,91
56
+ iqm_exa_common-26.16.dist-info/top_level.txt,sha256=Clphg2toaZ3_jSFRPhjMNEmLurkMNMc4lkK2EFYsSlM,4
57
+ iqm_exa_common-26.16.dist-info/RECORD,,