openpectus.aggregator.routers.recent_runs

Attributes

router

Functions

get_recent_run_or_fail(user_roles, run_id)

get_recent_runs(user_roles)

get_recent_run(user_roles, run_id)

get_recent_run_method_and_state(user_roles, run_id)

get_recent_run_run_log(user_roles, run_id)

get_recent_run_plot_configuration(user_roles, run_id)

get_recent_run_plot_log(user_roles, run_id)

get_recent_run_csv_json(user_roles, run_id)

get_recent_run_archive(user_roles, run_id)

get_recent_run_error_log(user_roles, run_id)

Module Contents

openpectus.aggregator.routers.recent_runs.router
openpectus.aggregator.routers.recent_runs.get_recent_run_or_fail(user_roles, run_id)
Parameters:
  • user_roles (openpectus.aggregator.routers.auth.UserRolesValue)

  • run_id (str)

Return type:

openpectus.aggregator.data.models.RecentRun

openpectus.aggregator.routers.recent_runs.get_recent_runs(user_roles)
Parameters:

user_roles (openpectus.aggregator.routers.auth.UserRolesValue)

Return type:

List[openpectus.aggregator.routers.dto.RecentRun]

openpectus.aggregator.routers.recent_runs.get_recent_run(user_roles, run_id)
Parameters:
  • user_roles (openpectus.aggregator.routers.auth.UserRolesValue)

  • run_id (str)

Return type:

openpectus.aggregator.routers.dto.RecentRun

openpectus.aggregator.routers.recent_runs.get_recent_run_method_and_state(user_roles, run_id)
Parameters:
  • user_roles (openpectus.aggregator.routers.auth.UserRolesValue)

  • run_id (str)

Return type:

openpectus.aggregator.routers.dto.MethodAndState

openpectus.aggregator.routers.recent_runs.get_recent_run_run_log(user_roles, run_id)
Parameters:
  • user_roles (openpectus.aggregator.routers.auth.UserRolesValue)

  • run_id (str)

Return type:

openpectus.aggregator.routers.dto.RunLog

openpectus.aggregator.routers.recent_runs.get_recent_run_plot_configuration(user_roles, run_id)
Parameters:
  • user_roles (openpectus.aggregator.routers.auth.UserRolesValue)

  • run_id (str)

Return type:

openpectus.aggregator.routers.dto.PlotConfiguration

openpectus.aggregator.routers.recent_runs.get_recent_run_plot_log(user_roles, run_id)
Parameters:
  • user_roles (openpectus.aggregator.routers.auth.UserRolesValue)

  • run_id (str)

Return type:

openpectus.aggregator.routers.dto.PlotLog

openpectus.aggregator.routers.recent_runs.get_recent_run_csv_json(user_roles, run_id)
Parameters:
  • user_roles (openpectus.aggregator.routers.auth.UserRolesValue)

  • run_id (str)

Return type:

openpectus.aggregator.routers.dto.RecentRunCsv

openpectus.aggregator.routers.recent_runs.get_recent_run_archive(user_roles, run_id)
Parameters:
  • user_roles (openpectus.aggregator.routers.auth.UserRolesValue)

  • run_id (str)

Return type:

openpectus.aggregator.routers.dto.RecentRunArchive

openpectus.aggregator.routers.recent_runs.get_recent_run_error_log(user_roles, run_id)
Parameters:
  • user_roles (openpectus.aggregator.routers.auth.UserRolesValue)

  • run_id (str)

Return type:

openpectus.aggregator.routers.dto.AggregatedErrorLog