data-models icon indicating copy to clipboard operation
data-models copied to clipboard

master_tests.py "test_schema_descriptions" failed with "Error running test: maximum recursion depth exceeded while calling a Python object"

Open agaldemas opened this issue 3 months ago • 1 comments

among model test I have a failure validating an HL7/FHIR-R4 model Account,

Master test file

something should be added like a depth limit to avoid this issue for complex schema, which can provide cyclic reference through #ref test_schema_descriptions

currently didn't analyze how to fix this in the code !!!

agaldemas avatar Nov 20 '25 10:11 agaldemas

may be it should be better to adopt another way to parse schema, like with an event parser,

or have a limit in depth to find #ref schemas !

agaldemas avatar Nov 20 '25 10:11 agaldemas