Skip to content

Commit

Permalink
Marshmallow graph (#199)
Browse files Browse the repository at this point in the history
* marshmallow graph fix - cyclic dependencies on self
* version bump
  • Loading branch information
mesemus authored Jul 13, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 4d6b35c commit 56da4d1
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -137,7 +137,7 @@ def set_package_dependencies(classes_by_package):
if not fld.reference:
continue
referenced_package = package_name(fld.reference.reference)
if referenced_package in classes_by_package:
if referenced_package != p and referenced_package in classes_by_package:
pd.add_dependency(referenced_package)
to_process = list(package_dependencies)
processed_dependencies = set()
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = oarepo-model-builder
version = 4.0.24
version = 4.0.25
description = A utility library that generates OARepo required data model files from a JSON specification file
authors = Miroslav Bauer <[email protected]>, Miroslav Simek <[email protected]>
readme = README.md

0 comments on commit 56da4d1

Please sign in to comment.