@staticmethod
def get_extra_prop(field: Field, prop: str) -> Any:
# The field is defined as a pydantic field, not a dataclass field,
# so access to metadata is a tad different. Furthermore, pyright is confused by extra.
> return field.default.json_schema_extra[prop] # pyright: ignore[reportAttributeAccessIssue]
E KeyError: 'is_used'
There is something seriously wrong with the below code in
Base, all our use of pycgmes is failing after #38. Still investigating further.