Skip to main content

Pydantic models for Knot0 CloudEvents payloads (generated from JSON Schemas)

Project description

knot0-event-types (Python)

Pydantic models for Knot0 CloudEvents payloads, generated from JSON Schemas in schemas-v2/events/**.

Install

pip install knot0_event_types

Usage

from knot0_event_types_v2.cloud_event import CloudEvent
# from knot0_event_types_v2.events.v1.orchestration.workflow_started import OrchestrationWorkflowStartedPayload

evt = CloudEvent[type(None)](
    specversion='1.0',
    type='v1.orchestration.workflow.started',
    source='orchestration-service',
    id='...',
    data={}
)

Notes

  • Generated event payload models live under knot0_event_types_v2.events.*.
  • CloudEvent is provided for envelope typing; runtime validation should use JSON Schemas.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

knot0_event_types-2.0.34.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

knot0_event_types-2.0.34-py3-none-any.whl (24.3 kB view details)

Uploaded Python 3

File details

Details for the file knot0_event_types-2.0.34.tar.gz.

File metadata

  • Download URL: knot0_event_types-2.0.34.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for knot0_event_types-2.0.34.tar.gz
Algorithm Hash digest
SHA256 a435637fdbd0c9815e5b33bd8b43e0d1d51d92c5910e6a895063fabc4ad8db9d
MD5 bbce3412f085e635d24b0eddbf69bb67
BLAKE2b-256 3436a7f4ad36874e91b983e1a0ebf250fec75062db0cb26bf01ff17ab2873641

See more details on using hashes here.

File details

Details for the file knot0_event_types-2.0.34-py3-none-any.whl.

File metadata

File hashes

Hashes for knot0_event_types-2.0.34-py3-none-any.whl
Algorithm Hash digest
SHA256 2477520e428ca1b2cce2e8772bc01fd9b15049c3fec92ab3265011f16b2fe64a
MD5 3a4171daef9b1c5bda635b75f43d1ce5
BLAKE2b-256 decc5e001711f0f508656fd11341e881e29f0d77b2fe0906ffad5ec4f98023b4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page