Jordan Fisher
10/03/2024, 7:30 AMbadr nadi
10/03/2024, 2:53 PMSlackbot
10/03/2024, 2:54 PMSlackbot
10/03/2024, 2:55 PMSlackbot
10/03/2024, 2:56 PMbadr nadi
10/03/2024, 2:56 PMJi-Oh Yoo
10/03/2024, 8:01 PMsyakesaba
10/06/2024, 12:58 PMPaweł Biernat
10/07/2024, 6:50 AMPaweł Biernat
10/07/2024, 8:12 AMSonny Nguyen
10/07/2024, 8:20 AMsnowflake.connector.errors.ProgrammingError: 090105 (22000): Cannot perform CREATE TABLE. This session does not have a current database. Call 'USE DATABASE', or use a qualified name.
Noam
10/07/2024, 9:16 AMMehdi
10/07/2024, 9:52 AMlogging.getlLogger('sqlalchemy.engine').setLevel(logging.ERROR)
in all prefect flows I deploy with main.py
? Using this line in main.py doesn’t change anything for meGiacomo Chiarella
10/07/2024, 11:20 AMAlex
10/07/2024, 11:21 AMMichael Bøcker-Larsen
10/07/2024, 11:48 AMMehdi
10/07/2024, 12:12 PMKebre
10/07/2024, 1:10 PMSpida45
10/07/2024, 1:53 PMDavid
10/07/2024, 2:01 PMresource "prefect_work_pool" "ecs_workpool" {
name = "ecs-pool-${var.name}"
type = "ecs"
paused = false
workspace_id = var.prefect_workspace_id
base_job_template = file("../../config/ecs-worker-job-configuration.json")
}
how do i ensure that the resource explicitly uses the variables in my job configuration file?Cary
10/07/2024, 7:55 PMaggregate-worker-metadata.json
collections file. Is there a way to create a work pool and run a custom worker type without changing that file? This request seems related to this open issue, https://github.com/PrefectHQ/prefect/issues/10964, from last year but the docs made it seem like it was already possible.Jonathan Samples
10/07/2024, 8:00 PMcommand
to customize how the docker container should be run... How does it know to run the specific flow?
4. When I run the docker image (locally) that is generated by the prefect cli, it doesn't actually run the flow... it just opens a shell prompt.Mitch
10/08/2024, 12:59 AMKebre
10/08/2024, 7:18 AMPaweł Biernat
10/08/2024, 7:44 AMStas Grinberg
10/08/2024, 8:51 AMFile "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/Users/stas/PycharmProjects/data-infra-prefect/auto_scoring/functions/upload_csv_files.py", line 5, in <module>
from functions.correlation_to_snowflake import load_correlation_to_snowflake
File "/Users/stas/PycharmProjects/data-infra-prefect/auto_scoring/functions/correlation_to_snowflake.py", line 5, in <module>
database = JSON.load("auto-scoring").value["database"]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'coroutine' object has no attribute 'value'
An exception occurred.
sys:1: RuntimeWarning: coroutine 'Block.load' was never awaited
Arthur Jacquemart
10/08/2024, 8:53 AMasync with get_client() as client:
flow_run = await client.read_flow_run(flow_run_id)
print(flow_run.state.message)
return flow_run.state.is_completed(), flow_run.state.message
response = await client.hello()
return response.json()
Do you have any idea why it cannot manage to find this flow?Dzmitry-S
10/08/2024, 8:56 AMBianca Hoch
10/08/2024, 3:08 PMBianca Hoch
10/08/2024, 3:08 PM