Problem
LinkedBaseModel.model_validate(data) returns None instead of the validated model instance. The override calls super().model_validate() but doesn't return its result.
Workaround
# Instead of:
instance = MyModel.model_validate(data) # returns None
# Use:
instance = MyModel(**data) # works
Expected behavior
model_validate should return the constructed instance, matching pydantic v2's standard behavior.
Location
oold/model/__init__.py, line ~430 — the model_validate classmethod needs return super().model_validate(...).
Problem
LinkedBaseModel.model_validate(data)returnsNoneinstead of the validated model instance. The override callssuper().model_validate()but doesn't return its result.Workaround
Expected behavior
model_validateshould return the constructed instance, matching pydantic v2's standard behavior.Location
oold/model/__init__.py, line ~430 — themodel_validateclassmethod needsreturn super().model_validate(...).