Fix Description:
I ran Pydantics version migration tool, pydantic-bump which fixed some issues but missed all classes containing Optional[T] where the default wasn't set. Following the rule set in there migration tool I changed Optional fields to include a default of None where one wasn't set (note the first rule in their Readme).
I used the regex expression Optional\[[^\]]*\](?!\s*=) to find all instances but I may have missed some, or missed some other issues (this is my first PR for this project) with migration.
I did test to see if the Jupyter notebooks run locally, which they do but I haven't done any more comprehensive testing than running all notebooks
Fix based on Issue 31 raised by basti00.
Fix Description: I ran Pydantics version migration tool, pydantic-bump which fixed some issues but missed all classes containing Optional[T] where the default wasn't set. Following the rule set in there migration tool I changed Optional fields to include a default of None where one wasn't set (note the first rule in their Readme).
I used the regex expression
Optional\[[^\]]*\](?!\s*=)
to find all instances but I may have missed some, or missed some other issues (this is my first PR for this project) with migration.I did test to see if the Jupyter notebooks run locally, which they do but I haven't done any more comprehensive testing than running all notebooks