Skip to content

Commit 3737413

Browse files
assets refactor docs (#1041)
Co-authored-by: Henri Courdent <[email protected]>
1 parent b0cda3e commit 3737413

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed
142 KB
Loading

docs/core_concepts/52_assets/index.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ Windmill auto detects when you reference assets directly in your code. Assets ar
44

55
- S3 Objects : s3://storage/path/to/file.csv
66
- Resources : res://path/to/resource
7-
- Variables : var://path/to/variable
87

98
![Assets in script editor](./assets_in_script_editor.png 'Assets in script editor')
109

@@ -20,7 +19,7 @@ Read / Write mode is infered from code context.
2019
For example, a `COPY (...) TO file` statement is always `Write`.
2120
Sometimes the Read / Write mode cannot be inferred, in which case you are able to manually select it.
2221

23-
You can use the Add Resource / Variable / S3 Object buttons in the editor bar for convenience :
22+
You can use the Add Resource / S3 Object buttons in the editor bar for convenience :
2423

2524
<video
2625
className="border-2 rounded-lg object-cover w-full h-full dark:border-gray-800"
@@ -35,7 +34,6 @@ The python and Typescript/Javascript clients now support the new URI syntax :
3534

3635
```python
3736
wmill.get_resource('res://path/to/resource')
38-
wmill.get_variable('var://path/to/variable')
3937
wmill.load_s3_file('s3://storage/path/to/file.csv')
4038

4139
# Not using the URI syntax still works for back-compatibility,

static/videos/assets_demo.mp4

103 KB
Binary file not shown.

0 commit comments

Comments
 (0)