Closed edelooff closed 1 year ago
Hi! For me it would be very good to have a new release soon. The upcoming version fixes #46 which means models are modified when copying them.
The following test fails in 0.5.0 but passes with 0.6.0:
def test_deepcopy(session, article):
article_copy = Article(
author=article.author,
content=article.content,
references=copy.deepcopy(article.references),
)
article_copy.references["github.com"]["someone/somerepo"] = 10
article_copy.references["modified"] = True
assert "someone/somerepo" not in article.references["github.com"]
assert not session.dirty
subj