Skip to content

Commit

Permalink
17468 add warning to documentation about overriding custom script pro…
Browse files Browse the repository at this point in the history
…perties
  • Loading branch information
arthanson authored and jeremystretch committed Oct 16, 2024
1 parent e7bd0e5 commit 35307d2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/customization/custom-scripts.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ script_order = (MyCustomScript, AnotherCustomScript)

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

!!! warning
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.

### `name`

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

0 comments on commit 35307d2

Please sign in to comment.