https://prefect.io
Join Slack
<@ULVA73B9P> how can i rename a flow deployment that i created with `flow.from_source` so that in th...
o

Oliver Tedder

over 1 year ago
@Marvin how can i rename a flow deployment that i created with
flow.from_source
so that in the UI on the server it has a different name?
o
m
  • 2
  • 3
  • 170
<@ULVA73B9P> how can I extend the base job template KubernetesClusterConfig to request the cpu and m...
s

Scott Pedersen

about 2 years ago
@Marvin how can I extend the base job template KubernetesClusterConfig to request the cpu and memory for a pod?
s
m
n
  • 3
  • 42
  • 170
<@U02GMEZU18B> trace of the Docker access denied :x::thread:
j

Jovan Sakovic

about 3 years ago
@Nate trace of the Docker access denied ❌🧵
j
n
  • 2
  • 8
  • 170
Hello :slightly_smiling_face: I believe I ran into a threading problem yesterday. I am converting so...
k

kwmiebach

almost 4 years ago
Hello 🙂 I believe I ran into a threading problem yesterday. I am converting some data extraction pipelines to prefect 2 flows, which works fine for most of them. I just add the decorators and some logging. But one of the data pipelines uses sqlite for intermediate storage, and this is the error message I receive:
sqlite3.ProgrammingError: SQLite objects created in a thread can only be used in that same thread. The object was created in thread id 140193261803264 and this is thread id 140192735962880.
I can also paste the part of the code where sqlite is called. I am also trying to guess the reason behind the error. There is an sqlite object created in a function. Within the function I define another function which uses this object. But both python functions are not prefect flows or tasks. They live within a bigger prefect flow. So here comes my first question: Does prefect 2 create a different thread for each nested function inside a flow or a task. Otherwise I cannot explain why the 2 parts of the code would run in different threads.
✅ 1
k
k
r
  • 3
  • 27
  • 170
Has anyone run into this issue when trying to run `flow.visualize()` ? I installed the viz package w...
m

Marc Lipoff

over 5 years ago
Has anyone run into this issue when trying to run
flow.visualize()
? I installed the viz package with
pip install prefect[viz]
but am still getting this:
Traceback (most recent call last):
  File "insurance_export.py", line 184, in <module>
    flow.visualize()
  File "/home/ec2-user/anaconda3/envs/python38_prefect/lib/python3.8/site-packages/prefect/core/flow.py", line 1406, in visualize
    graph.render(tmp.name, view=True)
  File "/home/ec2-user/anaconda3/envs/python38_prefect/lib/python3.8/site-packages/graphviz/files.py", line 216, in render
    self._view(rendered, self._format, quiet_view)
  File "/home/ec2-user/anaconda3/envs/python38_prefect/lib/python3.8/site-packages/graphviz/files.py", line 262, in _view
    view_method(filepath, quiet)
  File "/home/ec2-user/anaconda3/envs/python38_prefect/lib/python3.8/site-packages/graphviz/backend.py", line 323, in view_unixoid
    popen_func(cmd)
  File "/home/ec2-user/anaconda3/envs/python38_prefect/lib/python3.8/subprocess.py", line 854, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/home/ec2-user/anaconda3/envs/python38_prefect/lib/python3.8/subprocess.py", line 1702, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'xdg-open'
m
a
z
  • 3
  • 7
  • 170
Hi,all After upgrading of Prefect 2 to 3, "run-graph" always say "This flow run did not generate any...
s

syakesaba

almost 2 years ago
Hi,all After upgrading of Prefect 2 to 3, "run-graph" always say "This flow run did not generate any task or subflow runs" at a "Runs" pane with Deployment on Kubernetes Worker. Somehow but when I execute same flow at other workload, it works. why? woker "run-graph" show: Local Execution. does not show: Kubernetes Worker
s
c
  • 2
  • 5
  • 169
How does one get the current flow run url programmatically?
s

Stephen Herron

over 2 years ago
How does one get the current flow run url programmatically?
✅ 1
s
j
  • 2
  • 3
  • 169
<@ULVA73B9P> is it possible to set nodeSelector and tolerants on a work pool so that all flows descr...
k

Kiley Roberson

almost 3 years ago
@Marvin is it possible to set nodeSelector and tolerants on a work pool so that all flows described in my prefect.yaml that are associated with that work pool will be scheduled on a specified node pool?
k
m
  • 2
  • 3
  • 169
Is there a callback for when a flow starts? I see there are callbacks for <on_completion and on_fail...
j

jack

over 3 years ago
Is there a callback for when a flow starts? I see there are callbacks for on_completion and on_failure
j
c
  • 2
  • 2
  • 169
<@ULVA73B9P> how can I send a Teams notification if one of my flow runs fail in prefect 3?
p

Patrick Düggelin

over 1 year ago
@Marvin how can I send a Teams notification if one of my flow runs fail in prefect 3?
p
m
  • 2
  • 1
  • 168
Previous474849Next

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