From 915e126e88af371d1453211b6a0b3ae1018ac4c2 Mon Sep 17 00:00:00 2001 From: Alexander Schlemmer <alexander@mail-schlemmer.de> Date: Mon, 10 Jul 2023 15:43:16 +0200 Subject: [PATCH] DOC: Changelog and source code doc updated. --- CHANGELOG.md | 2 ++ unittests/test_high_level_api.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c9ed308..740fb1b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed ### +- Detection for cyclic references when converting entites using the high level API. + ### Security ### ### Documentation ### diff --git a/unittests/test_high_level_api.py b/unittests/test_high_level_api.py index 1e529e94..aa9f6caa 100644 --- a/unittests/test_high_level_api.py +++ b/unittests/test_high_level_api.py @@ -649,4 +649,6 @@ def test_cyclic_references(): r1.add_property(name="ref_to_two", value=r2) r2.add_property(name="ref_to_one", value=r1) + # This would have lead to a recursion error before adding the detection for + # cyclic references: r = convert_to_python_object(r1) -- GitLab