Skip to content

Commit

Permalink
fix(simulation): update to new simulation status format
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineDao committed Dec 27, 2019
1 parent f5a433f commit 7e4fe71
Show file tree
Hide file tree
Showing 61 changed files with 734 additions and 4,773 deletions.
19 changes: 2 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,21 +137,6 @@ Class | Method | HTTP request | Description
- [Accepted](https://github.com/pollination/python-sdk/blob/master/docs/Accepted.md)
- [Aperture](https://github.com/pollination/python-sdk/blob/master/docs/Aperture.md)
- [App](https://github.com/pollination/python-sdk/blob/master/docs/App.md)
- [ArgoArchiveLocation](https://github.com/pollination/python-sdk/blob/master/docs/ArgoArchiveLocation.md)
- [ArgoArguments](https://github.com/pollination/python-sdk/blob/master/docs/ArgoArguments.md)
- [ArgoArtifact](https://github.com/pollination/python-sdk/blob/master/docs/ArgoArtifact.md)
- [ArgoDAG](https://github.com/pollination/python-sdk/blob/master/docs/ArgoDAG.md)
- [ArgoDAGTask](https://github.com/pollination/python-sdk/blob/master/docs/ArgoDAGTask.md)
- [ArgoNodeStatus](https://github.com/pollination/python-sdk/blob/master/docs/ArgoNodeStatus.md)
- [ArgoOutputs](https://github.com/pollination/python-sdk/blob/master/docs/ArgoOutputs.md)
- [ArgoParameter](https://github.com/pollination/python-sdk/blob/master/docs/ArgoParameter.md)
- [ArgoRetryStrategy](https://github.com/pollination/python-sdk/blob/master/docs/ArgoRetryStrategy.md)
- [ArgoS3Location](https://github.com/pollination/python-sdk/blob/master/docs/ArgoS3Location.md)
- [ArgoStatus](https://github.com/pollination/python-sdk/blob/master/docs/ArgoStatus.md)
- [ArgoSuspend](https://github.com/pollination/python-sdk/blob/master/docs/ArgoSuspend.md)
- [ArgoTaskContainer](https://github.com/pollination/python-sdk/blob/master/docs/ArgoTaskContainer.md)
- [ArgoTemplate](https://github.com/pollination/python-sdk/blob/master/docs/ArgoTemplate.md)
- [ArgoTemplateRef](https://github.com/pollination/python-sdk/blob/master/docs/ArgoTemplateRef.md)
- [Arguments](https://github.com/pollination/python-sdk/blob/master/docs/Arguments.md)
- [Artifact](https://github.com/pollination/python-sdk/blob/master/docs/Artifact.md)
- [Auth0TokenResponse](https://github.com/pollination/python-sdk/blob/master/docs/Auth0TokenResponse.md)
Expand All @@ -166,7 +151,6 @@ Class | Method | HTTP request | Description
- [HTTPValidationError](https://github.com/pollination/python-sdk/blob/master/docs/HTTPValidationError.md)
- [InputFolderLocation](https://github.com/pollination/python-sdk/blob/master/docs/InputFolderLocation.md)
- [KeyRequest](https://github.com/pollination/python-sdk/blob/master/docs/KeyRequest.md)
- [KeySecret](https://github.com/pollination/python-sdk/blob/master/docs/KeySecret.md)
- [Language](https://github.com/pollination/python-sdk/blob/master/docs/Language.md)
- [LocalRequirements](https://github.com/pollination/python-sdk/blob/master/docs/LocalRequirements.md)
- [LoopControl](https://github.com/pollination/python-sdk/blob/master/docs/LoopControl.md)
Expand All @@ -189,13 +173,14 @@ Class | Method | HTTP request | Description
- [SensorGridIn1](https://github.com/pollination/python-sdk/blob/master/docs/SensorGridIn1.md)
- [SensorGridOut](https://github.com/pollination/python-sdk/blob/master/docs/SensorGridOut.md)
- [ShadeFace](https://github.com/pollination/python-sdk/blob/master/docs/ShadeFace.md)
- [SimulationStatus](https://github.com/pollination/python-sdk/blob/master/docs/SimulationStatus.md)
- [SubmitSimulation](https://github.com/pollination/python-sdk/blob/master/docs/SubmitSimulation.md)
- [TaskStatus](https://github.com/pollination/python-sdk/blob/master/docs/TaskStatus.md)
- [Token](https://github.com/pollination/python-sdk/blob/master/docs/Token.md)
- [Transparent](https://github.com/pollination/python-sdk/blob/master/docs/Transparent.md)
- [ValidationError](https://github.com/pollination/python-sdk/blob/master/docs/ValidationError.md)
- [Vertex](https://github.com/pollination/python-sdk/blob/master/docs/Vertex.md)
- [Workflow](https://github.com/pollination/python-sdk/blob/master/docs/Workflow.md)
- [WorkflowListItem](https://github.com/pollination/python-sdk/blob/master/docs/WorkflowListItem.md)


## Documentation For Authorization
Expand Down
12 changes: 0 additions & 12 deletions docs/ArgoArchiveLocation.md

This file was deleted.

12 changes: 0 additions & 12 deletions docs/ArgoArguments.md

This file was deleted.

14 changes: 0 additions & 14 deletions docs/ArgoArtifact.md

This file was deleted.

13 changes: 0 additions & 13 deletions docs/ArgoDAG.md

This file was deleted.

16 changes: 0 additions & 16 deletions docs/ArgoDAGTask.md

This file was deleted.

29 changes: 0 additions & 29 deletions docs/ArgoNodeStatus.md

This file was deleted.

13 changes: 0 additions & 13 deletions docs/ArgoOutputs.md

This file was deleted.

13 changes: 0 additions & 13 deletions docs/ArgoParameter.md

This file was deleted.

11 changes: 0 additions & 11 deletions docs/ArgoRetryStrategy.md

This file was deleted.

16 changes: 0 additions & 16 deletions docs/ArgoS3Location.md

This file was deleted.

19 changes: 0 additions & 19 deletions docs/ArgoStatus.md

This file was deleted.

11 changes: 0 additions & 11 deletions docs/ArgoSuspend.md

This file was deleted.

13 changes: 0 additions & 13 deletions docs/ArgoTaskContainer.md

This file was deleted.

26 changes: 0 additions & 26 deletions docs/ArgoTemplate.md

This file was deleted.

13 changes: 0 additions & 13 deletions docs/ArgoTemplateRef.md

This file was deleted.

12 changes: 0 additions & 12 deletions docs/KeySecret.md

This file was deleted.

18 changes: 18 additions & 0 deletions docs/SimulationStatus.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# SimulationStatus

Workflow Status
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**status** | **str** | The status of this task. Can be \"Running\", \"Succeeded\", \"Failed\" or \"Error\" |
**message** | **str** | Any message produced by the task. Usually error/debugging hints. | [optional]
**started_at** | **datetime** | The time at which the task was started |
**finished_at** | **datetime** | The time at which the task was completed | [optional]
**id** | **str** | The ID of the individual workflow run. |
**tasks** | [**dict(str, TaskStatus)**](TaskStatus.md) | | [optional]
**workflow_ref** | [**ReferenceWorkflow**](ReferenceWorkflow.md) | | [optional]
**inputs** | [**Arguments**](Arguments.md) | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


10 changes: 5 additions & 5 deletions docs/SimulationsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Method | HTTP request | Description
Schedule a simulation

Create a new workflow.
Create a new simulation.

### Example

Expand Down Expand Up @@ -91,7 +91,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **get**
> WorkflowListItem get(id)
> SimulationStatus get(id)
Get a Simulation

Expand Down Expand Up @@ -145,7 +145,7 @@ Name | Type | Description | Notes

### Return type

[**WorkflowListItem**](WorkflowListItem.md)
[**SimulationStatus**](SimulationStatus.md)

### Authorization

Expand Down Expand Up @@ -480,7 +480,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **list**
> list[WorkflowListItem] list(page=page, per_page=per_page)
> list[SimulationStatus] list(page=page, per_page=per_page)
List simulations

Expand Down Expand Up @@ -536,7 +536,7 @@ Name | Type | Description | Notes

### Return type

[**list[WorkflowListItem]**](WorkflowListItem.md)
[**list[SimulationStatus]**](SimulationStatus.md)

### Authorization

Expand Down
25 changes: 25 additions & 0 deletions docs/TaskStatus.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# TaskStatus

A Task Status
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**status** | **str** | The status of this task. Can be \"Running\", \"Succeeded\", \"Failed\" or \"Error\" |
**message** | **str** | Any message produced by the task. Usually error/debugging hints. | [optional]
**started_at** | **datetime** | The time at which the task was started |
**finished_at** | **datetime** | The time at which the task was completed | [optional]
**id** | **str** | The task unique ID |
**name** | **str** | A human readable name for the task. Usually defined by the DAG task name but can be extended if the task is part of a loop for example. This name is unique within the boundary of the DAG/Workflow that generated it. |
**type** | **str** | The type of task this status is for. Can be \"Function\", \"DAG\", \"Workflow\" or \"Loop\" |
**template_ref** | **str** | The name of the template that spawned this task |
**operator** | [**Operator**](Operator.md) | The operator used to run this task. Only applies to Function tasks. | [optional]
**command** | **str** | The command used to run this task. Only applies to Function tasks. | [optional]
**inputs** | [**Arguments**](Arguments.md) | The inputs used by this task |
**outputs** | [**Arguments**](Arguments.md) | The outputs produced by this task |
**boundary_id** | **str** | This indicates the task ID of the associated template root task in which this task belongs to. A DAG task will have the id of the parent DAG for example. | [optional]
**children** | **list[str]** | A list of child task IDs |
**outbound_tasks** | **list[str]** | A list of the last tasks to ran in the context of this task. In the case of a DAG or a workflow this will be the last task that has been executed. It will remain empty for functions. |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


Loading

0 comments on commit 7e4fe71

Please sign in to comment.