• Lana Dann

    Lana Dann

    4 months ago
    is there a way to codify the readme for a flow? https://docs.prefect.io/orchestration/ui/flow.html#read-me
    Lana Dann
    Kevin Kho
    2 replies
    Copy to Clipboard
  • Kayvan Shah

    Kayvan Shah

    4 months ago
    Is there a workaround to bind prefect logger with logger implemented in module?
    Kayvan Shah
    Anna Geller
    +1
    8 replies
    Copy to Clipboard
  • Michael Smith

    Michael Smith

    4 months ago
    Hello, with Prefect 1 on K8s what are the options for partitioning workloads so that we can prioritise "interactively" triggered workflows vs pure batch?
    Michael Smith
    Anna Geller
    6 replies
    Copy to Clipboard
  • Pedro Martins

    Pedro Martins

    4 months ago
    Hello! I’m trying to connect the Prefect Server running on k8s to a managed PostgreSQL in the Azure Cloud. The DB name, host and secret are provided through a key vault within a K8s secretproviderclass. I want now to make Hasura mounting the connection string and load the secrets from there. Can someone help me here?
    Pedro Martins
    Matt Drago
    2 replies
    Copy to Clipboard
  • Chris Hatton

    Chris Hatton

    4 months ago
    Hey all ... I'm getting an error saying
    prefect.exceptions.ClientError: [{'path': ['create_project'], 'message': 'Uniqueness violation.', 'extensions': {'code': 'INTERNAL_SERVER_ERROR'}}]
    when I try to REcreate a project with the same name in
    backend cloud
    .... Is this a known issue? Does anyone know of a workaround? (Details in thread)
    Chris Hatton
    Kevin Kho
    13 replies
    Copy to Clipboard
  • Javier Ebrero

    Javier Ebrero

    3 months ago
    Hello all! I am trying to start the prefect server in my local using the backend as server and running prefect server start. I never had a problem using it but currently I buy other laptop and I am getting an error from hasura service (which a connection refuse to the postgres database) the traceback error is inside the thread. The prefect version is 0.15.13 and the OS version is ubuntu 22.04
    Javier Ebrero
    Kevin Kho
    +1
    24 replies
    Copy to Clipboard
  • Shaoyi Zhang

    Shaoyi Zhang

    3 months ago
    Hey all! What will be the road map for Prefect Server look like with the Prefect 2.0 migration? Is Prefect Server compatible with Prefect 2.0? If not, will it be compatible? or should we consider it as a dead project?
    Shaoyi Zhang
    2 replies
    Copy to Clipboard
  • Zhibin Dai

    Zhibin Dai

    3 months ago
    Hi team, we are facing an odd issue with scheduling flows. We have a python script that schedules flows. When the script gets run, it duplicates the schedule for one particular flow, for the next day. For example, if there is a flow scheduled for 1 am tomorrow, when we re-run the build_flows script, it will create another flow for that same time the next day, but not any subsequent days
    Zhibin Dai
    Kevin Kho
    8 replies
    Copy to Clipboard
  • m

    Maria

    3 months ago
    Hi, i’m having issues trying to use LocalDaskExecutor(scheduler=“threads”) with map(). When I try to call in flow,
    foo.map(list_custom_class)
    , i get an error like the following:
    Unexpected error: AttributeError("'ThreadPoolExecutor' object has no attribute 'apply_async'")
    Traceback (most recent call last):
      File "/miniconda3/lib/python3.7/site-packages/prefect/engine/runner.py", line 48, in inner
        new_state = method(self, state, *args, **kwargs)
      File "/miniconda3/lib/python3.7/site-packages/prefect/engine/flow_runner.py", line 543, in get_flow_run_state
        {e: state for e, state in upstream_states.items()}
      File "/miniconda3/lib/python3.7/site-packages/prefect/executors/dask.py", line 711, in wait
        futures, scheduler=self.scheduler, pool=self._pool, optimize_graph=False
      File "/miniconda3/lib/python3.7/site-packages/dask/base.py", line 447, in compute
        results = schedule(dsk, keys, **kwargs)
      File "/miniconda3/lib/python3.7/site-packages/dask/threaded.py", line 77, in get
        pool.apply_async,
    AttributeError: 'ThreadPoolExecutor' object has no attribute 'apply_async'
    What could be causing this error?
    m
    Kevin Kho
    4 replies
    Copy to Clipboard
  • Denys Volokh

    Denys Volokh

    3 months ago
    Hi, we have Prefect Server running in kubernetes. I can open UI but not able to create a project. Here is API response in the browser:
    Denys Volokh
    1 replies
    Copy to Clipboard