Skip to content

Commit 9e72422

Browse files
committed
remove pin
1 parent ad06939 commit 9e72422

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

docs/core_concepts/31_workflows_as_code/index.mdx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import TabItem from '@theme/TabItem';
55

66
[Flows](../../flows/1_flow_editor.mdx) are not the only way to write distributed programs that execute distinct jobs. Another approach is to write a program that defines the jobs and their dependencies, and then execute that program. This is known as workflows as code.
77

8-
![Script in python executing workflow as code](./python_editor.png "Script in python executing workflow as code")
8+
![Script in python executing workflow as code](./python_editor.png 'Script in python executing workflow as code')
99

1010
One way of doing this is to use the [API of Windmill](https://app.windmill.dev/openapi.html) itself, to run jobs imperatively, using run_script and run_flow (their sync or async counterparts). This is a powerful way to define workflows, but it can be complex and verbose.
1111

@@ -24,12 +24,6 @@ from wmill import task
2424
import pandas as pd
2525
import numpy as np
2626

27-
# The pin is important since task is a decorator available only from 1.286.2
28-
29-
#extra_requirements:
30-
#wmill>=1.286.2
31-
32-
3327
@task()
3428
# You can specify tag to run the task on a specific type of worker, e.g. @task(tag="custom_tag")
3529
def heavy_compute(n: int):

src/landing/FlowLightSection.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,6 @@ const features = [
5656
import pandas as pd
5757
import numpy as np
5858
59-
# The pin is important since task is a decorator available only from 1.286.2
60-
61-
#extra_requirements:
62-
#wmill>=1.286.2
63-
64-
6559
@task()
6660
# You can specify tag to run the task on a specific type of worker, e.g. @task(tag="custom_tag")
6761
def heavy_compute(n: int):

0 commit comments

Comments
 (0)