galileo_sdk.sdk.missions.MissionsSdk.create_mission

MissionsSdk.create_mission(name, description='', source_storage_id=None, destination_storage_id=None, source_path=None, destination_path=None, mission_type_id=None, settings=None, public=False)[source]

Create a new Mission in your Galileo account.

Parameters
  • name – str: Human readable name of the Mission you are creating

  • description – Optional[str]: Optional description of the Mission you are creating

  • mission_type_id – Optional[str]: UUID of the Mission framework type you are creating

  • destination_path – Optional[str]: Root directory of the Mission in the specified source Cargo Bay (not needed if using default storage)

  • source_path – Optional[str]: Root directory of the Mission in the specified destinatino Cargo Bay (not needed if using default storage)

  • destination_storage_id – Optional[str]: UUID of the Cargo Bay to use as the Mission data destination

  • source_storage_id – Optional[str]: UUID of the Cargo Bay to use as the Mission data source

  • settings – Optional[Dict[str, str]]: Mission framework type settings (get this info from get_mission_type_settings_info)

  • public – Optional[bool]: Boolean indicating whether to list the Mission as public (True) or private (False - default) missions.get_mission_type_settings_info()

Returns

Mission

Example:
>>> swmm_mission = galileo.missions.create_mission(name="SWMM Test2",description="testing",mission_type_id='f1934063-034a-4eba-adaa-e28bd95f138a',settings={"cpu_count":"1","memory_count":"3000","filename":"river","swmmversion":"5.1.007"})
>>> print(swmm_mission.mission_id)