https://prefect.io
Join Slack
<@ULVA73B9P> what is the difference between `flow.serve` and `flow.deploy` methods?
t

Tejas Shah

almost 2 years ago
@Marvin what is the difference between
flow.serve
and
flow.deploy
methods?
t
m
  • 2
  • 1
  • 168
hey everyone, is there a way to use variables that are global to every task like an increment counte...
f

Florian Guily

about 4 years ago
hey everyone, is there a way to use variables that are global to every task like an increment counter ?
✅ 1
f
a
  • 2
  • 4
  • 168
<@ULVA73B9P> I am running into an issue with my pipeline, and am receiving “RecursionError: maximum ...
m

Matt

about 3 years ago
@Marvin I am running into an issue with my pipeline, and am receiving “RecursionError: maximum recursion depth exceeded”. It appears that a fastapi’s jsonable_encoder() function is looping endlessly. Adjusting my recursion depth does not fix the issue. What can i do?
m
m
n
  • 3
  • 8
  • 167
hi! im running into this error ```httpx.RemoteProtocolError: &lt;ConnectionTerminated error_code:Err...
d

Deepanshu Aggarwal

over 3 years ago
hi! im running into this error
httpx.RemoteProtocolError: <ConnectionTerminated error_code:ErrorCodes.NO_ERROR, last_stream_id:19999, additional_data:None>
anyone who faced similar issue ? adding the trace stack in comments
d
k
  • 2
  • 6
  • 167
Hi all, I am experimenting with nested tasks and the UI appears to just show the parent task as an i...
d

Daniel Lomartra

almost 2 years ago
Hi all, I am experimenting with nested tasks and the UI appears to just show the parent task as an isolated rectangle with no dependency or encapsulation of its child tasks. Is this expected behavior or am I doing something wrong? I was hoping for it to enclose the child tasks the way that sub-flows do.
prefect rocket 0
✅ 1
d
d
+2
  • 4
  • 18
  • 166
Hi Everyone, My flow is getting crashed when running Kubernetes block, can anyone please help me on ...
n

Nimesh Kumar

over 2 years ago
Hi Everyone, My flow is getting crashed when running Kubernetes block, can anyone please help me on this what is the issue here, why it is getting crashed. prefect version 2.16.3
n
n
  • 2
  • 7
  • 166
Hi All, Some of our prefect flows get stuck in Pending state and never run after that (happens inter...
t

Tanishq Hooda

almost 3 years ago
Hi All, Some of our prefect flows get stuck in Pending state and never run after that (happens intermittently). They run on EKS pods. I see this error a lot in prefect agent logs (pasted in thread), is there any bug with prefect? Using version 2.10.13
plus one 2
t
m
e
  • 3
  • 8
  • 166
Hi everyone quite new to prefect and testing something out but I’m stuck,. I want to use `Deployment...
g

gertjan

almost 4 years ago
Hi everyone quite new to prefect and testing something out but I’m stuck,. I want to use
Deployment.build_from_flow
, it works when I put this in the same directory of the
flows
But what I want is the following:
- deployments:
   -- deployments.py (file with all my deployments)
- flows:
   -- flow_a.py
   -- flow_b.py
When I generate the deployments I get:
ValueError: '..../updates/flows/flow_a.py' is not in the subpath of '.../updates/deployments' OR one path is relative and the other is absolute.
It has to do with this line
entry_path = Path(flow_file).absolute().relative_to(Path(".").absolute())
-> it does not look like I can edit this “path” Anyone has done this before? Is this even possible?
✅ 1
g
a
  • 2
  • 5
  • 166
Hello, does anyone have any experience setting up Prefect Orion to be accessed via a web URL (HTTPs)...
c

CA Lee

about 4 years ago
Hello, does anyone have any experience setting up Prefect Orion to be accessed via a web URL (HTTPs)?
c
k
  • 2
  • 8
  • 166
I definitely sound like a broken record at this point, but I'm still stuck on trying to understand t...
n

Nash Taylor

about 4 years ago
I definitely sound like a broken record at this point, but I'm still stuck on trying to understand the reasoning behind [these overloads](https://github.com/PrefectHQ/prefect/blob/orion/src/prefect/tasks.py#L231-L255) on the base Task class. Namely, the use of NoReturn in the first overload. Here's a minimal example where I use NoReturn in a Task skeleton, and the resulting
reveal_type
of a task run according to mypy: (threaded to avoid an obnoxiously long message)
✅ 1
n
k
+2
  • 4
  • 95
  • 166
Previous484950Next

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