Exemplo n.º 1
0
def list_triggers(trigger_storage: TriggerStorage, workspace: str):
    trigger_ids = trigger_storage.keys(workspace=workspace,
                                       document_id='triggers')

    return trigger_ids, 200
Exemplo n.º 2
0
def list_event_sources(trigger_storage: TriggerStorage, workspace: str):
    event_sources = trigger_storage.keys(workspace=workspace,
                                         document_id='event_sources')
    return event_sources, 200