HomeElementl

new arg of_type to EventLogStorage.get_logs_for_run

Description

new arg of_type to EventLogStorage.get_logs_for_run

Summary:
this is useful in:

  • D7620's follow up: _get_source_run_id_from_logs currently load all logs for a run (without filtering types) and find step output events in python. this new arg allows us to move the filter logic to db.
  • the future hook/monitoring work could benefit from this method as it's likely to filter the event logs by type

Test Plan: unit

Reviewers: alangenfeld, sandyryza, prha

Reviewed By: alangenfeld

Subscribers: jordansanders, rexledesma

Differential Revision: https://dagster.phacility.com/D7783

Details

Provenance
yuhanAuthored on May 7 2021, 4:14 AM
Reviewer
alangenfeld
Differential Revision
D7783: new arg of_type to EventLogStorage.get_logs_for_run
Parents
R1:807a35b3f270: [dagit] Move everything out of __tests__
Branches
Unknown
Tags
Unknown