Skip to content
This repository was archived by the owner on May 3, 2026. It is now read-only.

Allow optional fields in example models#31

Merged
brothercorvo merged 1 commit into
mainfrom
codex/update-example-to-support-required-fields
Jun 18, 2025
Merged

Allow optional fields in example models#31
brothercorvo merged 1 commit into
mainfrom
codex/update-example-to-support-required-fields

Conversation

@brothercorvo

Copy link
Copy Markdown
Member

Summary

  • relax example database columns so most fields are nullable
  • update EmergencyActionMessage and Event dataclasses to use Optional fields
  • mark required properties in the OpenAPI example
  • document which fields are required in the example README

Testing

  • pytest -q (fails: ModuleNotFoundError for RNS and SQLAlchemy)

https://chatgpt.com/codex/tasks/task_e_6853266c3fb88325a044381f66044832

@brothercorvo brothercorvo merged commit 96eede3 into main Jun 18, 2025
2 checks passed
@brothercorvo brothercorvo deleted the codex/update-example-to-support-required-fields branch August 6, 2025 17:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant