mag_dagster
mag_dagster module
cli(ctx, verbose)
magasin client is the glue between magasin components, it makes easier common tasks
Source code in mag/mag.py
39 40 41 42 43 44 45 46 |
|
dagster()
Dagster commands
Source code in mag_dagster/dagster.py
7 8 9 |
|
launch_ui(realm, component, service_name, ports, protocol='http', verbose=False)
Launches the user interface for a given realm, component, and service.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
realm |
str
|
The realm of the magasin instance. |
required |
component |
str
|
The magasin component (f.i superset, daskhub, drill, ...) |
required |
service_name |
str
|
The name of the kubernetes service to forward. |
required |
ports |
str
|
The ports to forward, using the format "local_port:remote_port". |
required |
protocol |
str
|
The protocol to use (default is "http"). |
'http'
|
verbose |
bool
|
Whether to display verbose output (default is False). |
False
|
Returns:
Name | Type | Description |
---|---|---|
None |
None
|
Nothing |
Source code in mag/mag_core/launch.py
188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 |
|
ui(realm, ports)
Launch dagster UI
Source code in mag_dagster/dagster.py
12 13 14 15 16 17 |
|