Skip to content

Commit

Permalink
Release version 0.0.0.dev41
Browse files Browse the repository at this point in the history
  • Loading branch information
AAriam committed Nov 18, 2024
1 parent 3a3730e commit 21eedbe
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ namespaces = true
# ----------------------------------------- Project Metadata -------------------------------------
#
[project]
version = "0.0.0.dev40"
version = "0.0.0.dev41"
name = "PySerials"
dependencies = [
"jsonschema >= 4.21.0, < 5",
Expand All @@ -26,8 +26,8 @@ dependencies = [
"ruamel.yaml >= 0.17.32, < 0.18", # https://yaml.readthedocs.io/en/stable/
"ruamel.yaml.string >= 0.1.1, < 1",
"tomlkit >= 0.11.8, < 0.12", # https://tomlkit.readthedocs.io/en/stable/,
"MDit == 0.0.0.dev37",
"ExceptionMan == 0.0.0.dev37",
"MDit == 0.0.0.dev38",
"ExceptionMan == 0.0.0.dev38",
"ProtocolMan == 0.0.0.dev2",
]
requires-python = ">=3.10"
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ jsonpath-ng >= 1.6.1, < 2
ruamel.yaml >= 0.17.32, < 0.18
ruamel.yaml.string >= 0.1.1, < 1
tomlkit >= 0.11.8, < 0.12
MDit == 0.0.0.dev37
ExceptionMan == 0.0.0.dev37
MDit == 0.0.0.dev38
ExceptionMan == 0.0.0.dev38
ProtocolMan == 0.0.0.dev2
8 changes: 8 additions & 0 deletions src/pyserials/property_dict.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import copy as _copy


class PropertyDict:

def __init__(self, data: dict | None):
Expand Down Expand Up @@ -50,3 +53,8 @@ def __eq__(self, other):

def __ne__(self, other):
return self._data != other._data

def __deepcopy__(self, memo):
# Use `deepcopy` on the internal dictionary to copy its contents
copied_data = _copy.deepcopy(self._data, memo)
return PropertyDict(copied_data)

0 comments on commit 21eedbe

Please sign in to comment.