A library collecting Pydantic-based event schemas used for events exchanged between GHGA services. Current version is 13.0.0, requiring Python >=3.12. Maintained actively by the GHGA community.
pip install ghga-event-schemasNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic usage: import event and model classes, create a model instance, then wrap it in an event.
Ensure all IDs are passed as uuid.UUID objects and date strings as datetime.datetime objects (with UTC timezone).
Use 'id' instead of 'file_id' when constructing FileUpload models.
Use 'import ghga_event_schemas' or 'from ghga_event_schemas import ...'
No dependency data recorded yet.