https://prefect.io
Join Slack
Is there a way to programmatically create secrets in prefect 2.0? It is easy to load secrets that we...
r

Rio McMahon

about 3 years ago
Is there a way to programmatically create secrets in prefect 2.0? It is easy to load secrets that were created via the UI but it would be useful to be able to write secrets from python.
r
j
  • 2
  • 8
  • 61
any guide on this error message for prefect 1.0 cloud ```HTTPSConnectionPool(host='34.66.191.39', po...
h

Hafsa Junaid

about 3 years ago
any guide on this error message for prefect 1.0 cloud
HTTPSConnectionPool(host='34.66.191.39', port=443): Max retries exceeded with url: /apis/batch/v1/namespaces/default/jobs (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f3196f62eb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
h
m
c
  • 3
  • 4
  • 61
Hello, is there an example of how I add s3 file as an attachment to prefect <email task> , I looked ...
p

Prasanth Kothuri

over 3 years ago
Hello, is there an example of how I add s3 file as an attachment to prefect email task , I looked at the code and the current attachments param only support local uri , TIA
p
k
a
  • 3
  • 6
  • 61
HI! I am getting an error*:* `ModuleNotFoundError("No module named 'parameters'")` ```root - src ...
d

Daniel Nilsen

over 3 years ago
HI! I am getting an error*:* 
ModuleNotFoundError("No module named 'parameters'")
root
  - src
    - flows
      - flow_1
        - flow_1.py
        - parameters.py
I am registering the flow with this
bin/prefect register --project «myProject» --path ./src/flows/flow_1/flow_1.py
When I run the flow locally with 
flow.run()
 it works fine 🤔
d
a
  • 2
  • 2
  • 61
does anyone have an example of using "on_failure" in a flow argument to re-run the whole flow after ...
j

Joseph Loss

over 4 years ago
does anyone have an example of using "on_failure" in a flow argument to re-run the whole flow after a certain period? I see the examples for specific tasks, would it work the same way for a flow I'm guessing?
j
k
  • 2
  • 28
  • 61
Hey guys, I'm trying to map an array of dictionary items into a function. My tasks keep failing from...
a

ARun

about 5 years ago
Hey guys, I'm trying to map an array of dictionary items into a function. My tasks keep failing from random errors, but it looks like the task isn't actually taking in the dictionary, instead it's taking in the first letter of every object. for example, I have an array in the format [{},{},{},{}...] the dict contains about a dozen attributes I am trying to map the array to the function like function.map(array) but i keep getting random errors like file not found(one of the attributes). Instead of using the actual fully qualified file name, what's being passed in is just a letter
a
n
  • 2
  • 8
  • 61
why is the time it takes to start the subflows, proportional to the amount of subflows submitted con...
l

Lev Zemlyanov

6 months ago
why is the time it takes to start the subflows, proportional to the amount of subflows submitted concurrently? seems like it is about 30 seconds per each subflow. The subflows are started as subprocesses in the parent flow process. could this be a misconfiguration or something else? this is reproducible and I am well below the concurrency limits
l
n
  • 2
  • 5
  • 60
<@ULVA73B9P> the pre-registered blocks are not showing up in my prefect deployment <https://docs.pre...
p

Patrick Düggelin

10 months ago
@Marvin the pre-registered blocks are not showing up in my prefect deployment https://docs.prefect.io/v3/develop/blocks#built-in-blocks. How can I enable them?
p
m
  • 2
  • 7
  • 60
<@ULVA73B9P> I am getting this error `RuntimeError: This event loop is already running` ever since I...
w

Wira Tjo

11 months ago
@Marvin I am getting this error
RuntimeError: This event loop is already running
ever since I've upgraded from Prefect 2 to Prefect 3. Do you have any advice on how to fix this?
w
m
  • 2
  • 1
  • 60
Hi Folks, when deploying self-hosted Prefect server on GCP, I am encountering this error: ```DEFAULT...
r

Ruslan Bergenov

about 1 year ago
Hi Folks, when deploying self-hosted Prefect server on GCP, I am encountering this error:
DEFAULT 2024-09-06T23:24:20.993197Z Warning! Failed to load collection 'prefect_gcp': ImportError: cannot import name 'SecretDict' from 'prefect.types' (/usr/local/lib/python3.10/site-packages/prefect/types/__init__.py)
I am using this Docker image:
--image=prefecthq/prefect:2-latest
Anyone else has the same error? Any insight on fixes or workarounds?
r
n
+2
  • 4
  • 10
  • 60
Previous107108109Next

Prefect Community

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.

Powered by