v0.0.17
A Python-focused release.
- Generated Python type-checks under
strictmypy (#192) — the profile layer (factories, slices, extensions, helpers) now passes strict mypy with nodisable_error_code/strict_optional = False. Single-value extension setters are typed as the value model (e.g.Coding) instead ofAny. Heads-up: those setters no longer accept a plaindictat the type level (runtime still coerces). resourceTypeis nowstr, not a per-resourceLiteral(#190) — still validated viaField(pattern=...).- No more Pydantic shadow warnings on import (#191) — abstract family types (
Resource,DomainResource) drop theresourceTypedefault; concrete resources still exposecls.resourceTypeand reject mismatches.
What's Changed
- PY: generate resourceType as str instead of Literal by @ryukzak in #190
- PY: fix resourceType shadow warnings on family base types by @ryukzak in #191
- PY: type-clean generated profiles and the example under plain
strictmypy by @ryukzak in #192
Full Changelog: v0.0.16...v0.0.17