load_event_from_db

Library.load_event_from_db(project, ev_id=None, public_id=None)[source]

Load an event from the database by database id or the public id.

Parameters
  • project (Project) – The project used to access the database.

  • ev_id (int) – The unique database id of the event.

  • public_id (str) – The public id of the event.

Returns

The events found in the database matching the search criteria.

Return type

list of Event