PySerials 0.0.0.dev40__py3-none-any.whl → 0.0.0.dev41__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: PySerials
3
- Version: 0.0.0.dev40
3
+ Version: 0.0.0.dev41
4
4
  Requires-Python: >=3.10
5
5
  Requires-Dist: jsonschema <5,>=4.21.0
6
6
  Requires-Dist: referencing >=0.35.1
@@ -8,7 +8,7 @@ Requires-Dist: jsonpath-ng <2,>=1.6.1
8
8
  Requires-Dist: ruamel.yaml <0.18,>=0.17.32
9
9
  Requires-Dist: ruamel.yaml.string <1,>=0.1.1
10
10
  Requires-Dist: tomlkit <0.12,>=0.11.8
11
- Requires-Dist: MDit ==0.0.0.dev37
12
- Requires-Dist: ExceptionMan ==0.0.0.dev37
11
+ Requires-Dist: MDit ==0.0.0.dev38
12
+ Requires-Dist: ExceptionMan ==0.0.0.dev38
13
13
  Requires-Dist: ProtocolMan ==0.0.0.dev2
14
14
 
@@ -2,7 +2,7 @@ pyserials/__init__.py,sha256=Ze6ur7qP-581-UYBZ6CjoC34YmLBv4d3jg-16qxCa9U,191
2
2
  pyserials/compare.py,sha256=j62A1UIiAm08_xONlbZmU2EcH1GMEpDyEQH66dZ2YMM,1297
3
3
  pyserials/format.py,sha256=dTukpab6WHSyVRQ9SteY5fhr3GFjWFboEl-1cw_udVY,1729
4
4
  pyserials/nested_dict.py,sha256=4LsdRWsRknmZv65UDbsyiNGYtG8rxh-F0EdXQNvpUOY,5257
5
- pyserials/property_dict.py,sha256=YODG9kBnUee2gx8FmudoMXSmcgjoSM0APAFekwU93MA,1284
5
+ pyserials/property_dict.py,sha256=mWwTF3GscDYKCmGoUNYjdRGg86nu5hQFvSmWNNybYfI,1511
6
6
  pyserials/read.py,sha256=uucYQH1V4GStwRgRZ2eQIXkH4ukB5qz0EA885grwi68,6592
7
7
  pyserials/update.py,sha256=tgkd7mywiYvm2tE_jPjuRWYsAoQ2Ap4NQ-OCI0ui9n0,21625
8
8
  pyserials/validate.py,sha256=ti0D_yLzB_HELvf1d5qrarx1Ac-opBMN1Xh5lADRAQU,3664
@@ -12,7 +12,7 @@ pyserials/exception/_base.py,sha256=IdaZwBPBYgiUaWnvN0eMXvQQBqLbN1t766034CK7Hlc,
12
12
  pyserials/exception/read.py,sha256=QyG6ulExXH9u8oDRjUfter70SMDVQqL4nig5s-JzWN4,9252
13
13
  pyserials/exception/update.py,sha256=P0js2-iY2fgO_KLdqedgWE3TTS5Xz15cusZY_wuKIW4,4222
14
14
  pyserials/exception/validate.py,sha256=7UkQEEqCa8HJ20gpTFnLDhT3P5OPLD2oD9fUK2Jcuns,7466
15
- PySerials-0.0.0.dev40.dist-info/METADATA,sha256=8FTsth8QsCFxOgCFTxSweG7FyBL6WDVMPb9eSwk1PAo,438
16
- PySerials-0.0.0.dev40.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
17
- PySerials-0.0.0.dev40.dist-info/top_level.txt,sha256=SAks7WjSjdkv3i9Hvt4gY_P7VQbhhYJN5mf5dqx1aao,10
18
- PySerials-0.0.0.dev40.dist-info/RECORD,,
15
+ PySerials-0.0.0.dev41.dist-info/METADATA,sha256=vLn0IPw1pWFcyjBjQjmP-PEFe0lfx9AKQpJKlGPXxfc,438
16
+ PySerials-0.0.0.dev41.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
17
+ PySerials-0.0.0.dev41.dist-info/top_level.txt,sha256=SAks7WjSjdkv3i9Hvt4gY_P7VQbhhYJN5mf5dqx1aao,10
18
+ PySerials-0.0.0.dev41.dist-info/RECORD,,
@@ -1,3 +1,6 @@
1
+ import copy as _copy
2
+
3
+
1
4
  class PropertyDict:
2
5
 
3
6
  def __init__(self, data: dict | None):
@@ -50,3 +53,8 @@ class PropertyDict:
50
53
 
51
54
  def __ne__(self, other):
52
55
  return self._data != other._data
56
+
57
+ def __deepcopy__(self, memo):
58
+ # Use `deepcopy` on the internal dictionary to copy its contents
59
+ copied_data = _copy.deepcopy(self._data, memo)
60
+ return PropertyDict(copied_data)