Skip to content

Commit 35307d2

Browse files
arthansonjeremystretch
authored andcommitted
17468 add warning to documentation about overriding custom script properties
1 parent e7bd0e5 commit 35307d2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/customization/custom-scripts.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ script_order = (MyCustomScript, AnotherCustomScript)
7272

7373
Script attributes are defined under a class named `Meta` within the script. These are optional, but encouraged.
7474

75+
!!! warning
76+
These are also defined and used as properties on the base custom script class, so don't use the same names as variables or override them in your custom script.
77+
7578
### `name`
7679

7780
This is the human-friendly names of your script. If omitted, the class name will be used.

0 commit comments

Comments
 (0)