You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pydantic.errors.PydanticInvalidForJsonSchema: Cannot generate a JsonSchema for core_schema.PlainValidatorFunctionSchema ({'type': 'no-info', 'function': <function Reference.__get_pydantic_core_schema__.<locals>.validate at 0x7fdf8892a6c0>})
This also occurs if you try to pass types Group, PatchOp, list[PatchOperation] and EnterpriseUser. This is most likely because Pydantic can't create a json schema of the Reference type (as the error suggests). There already exists issue in the Pydantic library with a possible fix.
Activity
azmeuk commentedon Jan 29, 2026
Thank you for you bug report.
Can you please test #126 and confirm it fixes the issue?
NaqGuug commentedon Jan 29, 2026
Thank you, on quick glance #126 seems to fix the issue.