Vitor Avancini
01/07/2020, 8:04 PMalex
01/07/2020, 8:21 PMraise_on_error
which will propagate an exception upVitor Avancini
01/07/2020, 8:51 PM@solid
def ecs_fargate_solid(context):
with open("aa") as f:
print(f)
return ''
@pipeline
def docker_solid_pipeline():
ecs_fargate_solid()
dagster pipeline execute -f solids.py -n docker_solid_pipeline
alex
01/07/2020, 8:56 PMVitor Avancini
01/07/2020, 8:57 PMrun_storage:
module: dagster_postgres.run_storage
class: PostgresRunStorage
config:
postgres_url: "<postgresql://postgres>:@localhost:5432/dagster"
event_log_storage:
module: dagster_postgres.event_log
class: PostgresEventLogStorage
config:
postgres_url: "<postgresql://postgres>:@localhost:5432/dagster"
alex
01/07/2020, 9:00 PMexecute_pipeline
from the python API in the interim - either in a seperate .py file or by adding a __name__ == '__main__'
section to solids.pyVitor Avancini
01/07/2020, 9:02 PMalex
01/07/2020, 9:02 PMVitor Avancini
01/07/2020, 9:02 PMalex
01/07/2020, 9:03 PMVitor Avancini
01/07/2020, 9:04 PMalex
01/07/2020, 9:07 PMselect
call in the stack traceVitor Avancini
01/07/2020, 9:08 PMalex
01/07/2020, 9:08 PMVitor Avancini
01/07/2020, 9:09 PM[<connection object at 0x7f964c901cd0; dsn: '<postgresql://postgres>:@localhost:5432/dagster', closed: 0>]
max
01/07/2020, 9:26 PMVitor Avancini
01/07/2020, 9:30 PMalex
01/07/2020, 9:33 PMdagster-postgres-nightly
in the interimVitor Avancini
01/07/2020, 9:35 PM