Skip to content

Commit

Permalink
Default value for Priority parameter for Python Snippet block added i…
Browse files Browse the repository at this point in the history
…n order to avoiding None value for it that leads to block parameter error

Signed-off-by: Armin Ghani <ghani.armin@gmail.com>
  • Loading branch information
armin485 authored and mormj committed Jan 17, 2022
1 parent 6a92448 commit b2c9623
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions grc/blocks/snippet.block.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ parameters:
- id: priority
label: Priority
dtype: int
default: "0"
hide: ${'part' if priority <= 0 else 'none'}
- id: code
label: Code Snippet
Expand Down

0 comments on commit b2c9623

Please sign in to comment.