diff --git a/RATapi/classlist.py b/RATapi/classlist.py index 68b0ea3c..46595af1 100644 --- a/RATapi/classlist.py +++ b/RATapi/classlist.py @@ -553,6 +553,7 @@ def validate_items(v: ClassList[T], handler: ValidatorFunctionWrapHandler) -> Cl core_schema.no_info_wrap_validator_function(coerce, core_schema.is_instance_schema(cls)), core_schema.no_info_wrap_validator_function(validate_items, list_schema), ], + serialization=core_schema.plain_serializer_function_ser_schema(lambda x: x), ) return schema diff --git a/RATapi/utils/plotting.py b/RATapi/utils/plotting.py index 46846b9f..97d5fa47 100644 --- a/RATapi/utils/plotting.py +++ b/RATapi/utils/plotting.py @@ -232,7 +232,7 @@ def plot_ref_sld( show_grid : bool, default: False Controls whether the grid is shown show_legend : bool, default: True - Controls whether the lengend is shown + Controls whether the legend is shown Returns ------- diff --git a/cpp/RAT b/cpp/RAT index af251ab2..ef7150ad 160000 --- a/cpp/RAT +++ b/cpp/RAT @@ -1 +1 @@ -Subproject commit af251ab27ebce5ab58ba27004eea541dae438785 +Subproject commit ef7150ad4af14120515b9f9ef9fb38b9d7637fe5