Tomás Emilio Silva Ebensperger
madhav
Failed to load and execute flow run: ModuleNotFoundError("No module named '/root/'")
prefect local agent start
Constantino Schillebeeckx
prefect.context.get("scheduled_start_time")
CronSchedule(cron, start_date=pendulum.datetime(2021, 1, 1, tz=tz))
Rustam Salavatov
Jonah
Oscar Björhn
Johan sh
William Jamir
@flow async def myflow(experiment_id: int): engine = create_async_engine( url=get_db_url(), connect_args={ 'statement_cache_size': 0, 'prepared_statement_cache_size': 0, }, ) async with AsyncSession(engine) as session: await session.get(Experiment, experiment_id) if __name__ == '__main__': loop = asyncio.run(myflow(189))
RuntimeError: Task <Task pending name='Task-27' coro=<AsyncSession.close() running at /Users/william/.pyenv/versions/myenv/lib/python3.11/site-packages/sqlalchemy/ext/asyncio/session.py:1016> cb=[shield.<locals>._inner_done_callback() at /Users/william/.pyenv/versions/3.11.5/lib/python3.11/asyncio/tasks.py:881]> got Future <Future pending cb=[Protocol._on_waiter_completed()]> attached to a different loop
Lana Dann
with prefect.context(dict(flow_owner="test")):
Traceback (most recent call last): File "/Users/lanadann/.pyenv/versions/data-prefect-3.9.7/lib/python3.9/site-packages/prefect/engine/runner.py", line 161, in handle_state_change new_state = self.call_runner_target_handlers(old_state, new_state) File "/Users/lanadann/.pyenv/versions/data-prefect-3.9.7/lib/python3.9/site-packages/prefect/engine/task_runner.py", line 113, in call_runner_target_handlers new_state = handler(self.task, old_state, new_state) or new_state File "/Users/lanadann/prefect/data_prefect/lib/notifiers.py", line 13, in post_to_slack_on_failure f"@{prefect.context.flow_owner} " AttributeError: 'Context' object has no attribute 'flow_owner'
Pascal Jahan Elahi (Pawsey)
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.