Skip to content

Commit

Permalink
Updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
atulya-astronomer committed Dec 10, 2024
1 parent b967e03 commit 118cf57
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions astronomer_starship/starship_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,16 @@ def pools(self):
| include_deferred* | >=2.7 | bool | True |
**Response:** List of Pools, as `GET` Response
### DELETE /api/starship/pools
**Parameters:** Args
| Field (*=Required) | Version | Type | Example |
|---------------------|---------|------|---------|
| name* | | str | my_pool |
**Response:** None
"""
return starship_route(
get=starship_compat.get_pools,
Expand Down Expand Up @@ -354,6 +364,16 @@ def variables(self):
| description | | str | My Var |
**Response:** List of Variables, as `GET` Response
### `DELETE /api/starship/variable`
**Parameters:** Args
| Field (*=Required) | Version | Type | Example |
|---------------------|---------|------|---------|
| key* | | str | key |
**Response:** None
"""
return starship_route(
get=starship_compat.get_variables,
Expand Down Expand Up @@ -417,6 +437,16 @@ def connections(self):
| description | | str | My Conn |
**Response:** List of Connections, as `GET` Response
### DELETE /api/starship/connections
**Parameters:** Args
| Field (*=Required) | Version | Type | Example |
|---------------------|---------|------|---------|
| conn_id* | | str | my_conn |
**Response:** None
"""
return starship_route(
get=starship_compat.get_connections,
Expand Down Expand Up @@ -566,6 +596,16 @@ def dag_runs(self):
| last_scheduling_decision | | date | 1970-01-01T00:00:00+00:00 |
| dag_hash | | str | ... |
| clear_number | >=2.8 | int | 0 |
### DELETE /api/starship/dag_runs
**Parameters:** Args
| Field (*=Required) | Version | Type | Example |
|--------------------------|---------|--------------------|-----------------------------------|
| dag_id* | | str | dag_0 |
**Response:** None
"""
return starship_route(
get=starship_compat.get_dag_runs,
Expand Down

0 comments on commit 118cf57

Please sign in to comment.