How can I implement multiple optional fields but with at least one of them mandatory in MyPy or Pydantic?
I’m trying to write a minimal, custom, JSON:API 1.1 implementation using Python.
I’m trying to write a minimal, custom, JSON:API 1.1 implementation using Python.