Skip to content

v0.0.17

Choose a tag to compare

@ryukzak ryukzak released this 02 Jul 21:41
· 204 commits to main since this release

A Python-focused release.

  • Generated Python type-checks under strict mypy (#192) — the profile layer (factories, slices, extensions, helpers) now passes strict mypy with no disable_error_code / strict_optional = False. Single-value extension setters are typed as the value model (e.g. Coding) instead of Any. Heads-up: those setters no longer accept a plain dict at the type level (runtime still coerces).
  • resourceType is now str, not a per-resource Literal (#190) — still validated via Field(pattern=...).
  • No more Pydantic shadow warnings on import (#191) — abstract family types (Resource, DomainResource) drop the resourceType default; concrete resources still expose cls.resourceType and 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 strict mypy by @ryukzak in #192

Full Changelog: v0.0.16...v0.0.17