m_to_json_schema fails with self referential subsections

Some Sections like baseclasses.solution.Solution contain properties that are subsections of the type baseclasses.solution.Solution (here the solution_details property in Solution.other_solutions).

This is creating an infinite recursion.

Code to recreate:

baseclasses.solution.Solution.m_def.m_to_json_schema()
Assignee Loading
Time tracking Loading