Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hot Fix for Pydantic #46

Merged
merged 237 commits into from
Jan 15, 2025
Merged

Hot Fix for Pydantic #46

merged 237 commits into from
Jan 15, 2025

Conversation

dschwartznyc
Copy link
Collaborator

@dschwartznyc dschwartznyc commented Jan 15, 2025

Hot Fix for Pydantic

What is being released?

This release contains hot fixes to make the Python generator compatible with CDM 5.x.x. The changes will
not address CDM 6 compatibility.

  • Pydantic: the version is limited to >=2.6.1 and <2.10.0. Thhis removes an issue identified with Pydantic 2.10+
  • Addition of support for the Rune Deep Path, Min and Max operators
  • Refactoring of test cases including addition of more Python unit tests

Issues to be closed with this release

plamen-neykov and others added 30 commits October 15, 2023 15:13
…v2 as recursive definitions still fail in v2 despite being supported.
…f the expressions can be used as is and only a small change to `_resolve_rosetta_attr` would be required to make the so generated code to work.
Function Generation & Expression Operators
Function Generation & Expression Operators
… (for use in the functions generation)

Added the ability to decorate functions as replaceable and provide runtime replacements
# Conflicts:
#	pom.xml
#	python/src/test/java/com/regnosys/rosetta/generator/python/expression/PythonExpressionGeneratorTest.xtend
#	python/src/test/java/com/regnosys/rosetta/generator/python/expression/RosettaExistsExpressionTest.xtend
#	python/src/test/java/com/regnosys/rosetta/generator/python/object/PythonObjectGenerationTest.xtend
Copy link
Member

@plamen-neykov plamen-neykov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved.

@plamen-neykov plamen-neykov merged commit 76c66f9 into master Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Python generator does not implement all Rosetta expressions
6 participants