Skip to content
Roboto
Esc
↑↓navigate↵open⌘Jpreview
On this page

roboto.domain.platform_events.samples

One fixed scenario, rendered as a platform event of every type.

Every sample envelope and every sample entity record draws its ids from the constants below, so samples of different event types agree with each other.

Module Contents

SAMPLE_ACTION_DIGEST

roboto.domain.platform_events.samples.SAMPLE_ACTION_DIGEST = 'sha256:9f1c2e7b4a0d8c6f3e5b1a7d2c4f8e6a0b3d5c7e9f1a2b4c6d8e0f2a4b6c8d0e'#View Source

SAMPLE_ACTION_NAME

roboto.domain.platform_events.samples.SAMPLE_ACTION_NAME = 'ros-ingest'#View Source

SAMPLE_API_DOMAIN

roboto.domain.platform_events.samples.SAMPLE_API_DOMAIN = 'api.roboto.ai'#View Source

SAMPLE_CHANGESET

roboto.domain.platform_events.samples.SAMPLE_CHANGESET#View Source

SAMPLE_DATASET_ID

roboto.domain.platform_events.samples.SAMPLE_DATASET_ID = 'ds_7h2k9m4qxp3w'#View Source

SAMPLE_EVENT_ID

roboto.domain.platform_events.samples.SAMPLE_EVENT_ID = 'ev_7g3n5kq2wxrd'#View Source

SAMPLE_FILE_ID

roboto.domain.platform_events.samples.SAMPLE_FILE_ID = 'fl_q8v2n6ty4mcs'#View Source

SAMPLE_FILE_VERSION

roboto.domain.platform_events.samples.SAMPLE_FILE_VERSION = 2#View Source

SAMPLE_INVOCATION_ID

roboto.domain.platform_events.samples.SAMPLE_INVOCATION_ID = 'iv_2x9pd7wk5rhf'#View Source

SAMPLE_ORG_ID

roboto.domain.platform_events.samples.SAMPLE_ORG_ID = 'og_k3m8w2rq7nxd'#View Source

SAMPLE_SESSION_ID

roboto.domain.platform_events.samples.SAMPLE_SESSION_ID = 'se_m4t7c1zq9bvn'#View Source

SAMPLE_TAGS_ADDED

roboto.domain.platform_events.samples.SAMPLE_TAGS_ADDED = ['validated', 'nightly']#View Source

SAMPLE_TIME

roboto.domain.platform_events.samples.SAMPLE_TIME#View Source

The instant every sample event and record is dated from, so samples are stable across calls.

SAMPLE_TRANSACTION_ID

roboto.domain.platform_events.samples.SAMPLE_TRANSACTION_ID = 'tx_5jw8r3ne2kpq'#View Source

SAMPLE_TRIGGER_ID

roboto.domain.platform_events.samples.SAMPLE_TRIGGER_ID = 'tr_3nq7wk2mx9pd'#View Source

SAMPLE_USER

roboto.domain.platform_events.samples.SAMPLE_USER = 'maria.chen@acme-robotics.com'#View Source

sample_platform_event()

roboto.domain.platform_events.samples.sample_platform_event(event_type)#View Source

A valid, fully populated event of event_type from the sample scenario.

Was this page helpful?