idmtools_platform_local.internals.ui.controllers.simulations module

idmtools_platform_local.internals.ui.controllers.simulations.sim_status(id: Optional[str], experiment_id: Optional[str], status: Optional[str], tags: Optional[List[Tuple[str, str]]], page: int = 1, per_page: int = 20) → Tuple[Dict, int]

List of statuses for simulation(s) with the ability to filter by id, experiment_id, status, and tags

Parameters
  • id (Optional[str]) – Optional Id of simulation

  • experiment_id (Optional[str]) – Optional experiment id

  • status (Optional[str]) – Optional status string to filter by

  • tags (Optional[List[Tuple[str, str]]]) – Optional list of tuples in form of tag_name tag_value to user to filter experiments with

  • page (int) – Which page to load. Defaults to 1

  • per_page (int) – Simulations per page. Defaults to 50

Returns

None

class idmtools_platform_local.internals.ui.controllers.simulations.Simulations

Bases: flask_restful.Resource

get(id=None)
put(id)
endpoint = 'simulations'
mediatypes()
methods = {'GET', 'PUT'}