Skip to content

Commit

Permalink
Add a note about default to script annotations guide
Browse files Browse the repository at this point in the history
Signed-off-by: Elliot Gunton <elliotgunton@gmail.com>
  • Loading branch information
elliotgunton committed Sep 11, 2024
1 parent c0a35cf commit 69782ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/user-guides/script-annotations.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ def echo_all(
print(a_string)
```

The fields allowed in the `Parameter` annotations are: `name`, `enum`, and `description`.
The fields allowed in the `Parameter` annotations are: `name`, `enum`, and `description`. A `default` must be set using
standard Python syntax, i.e. `x: int = 42`.

## Artifacts

Expand Down

0 comments on commit 69782ae

Please sign in to comment.