argument type as int and assert <= 255

3.8
jmfriedt 2023-02-21 08:17:29 +01:00
parent c91489e8cb
commit 17ce2ef140
1 changed files with 3 additions and 0 deletions

View File

@ -24,6 +24,9 @@ parameters:
dtype: string
default: 'helloworld'
asserts:
- ${type<256}
templates:
imports: import m17
make: m17.m17_coder(${src_ip},${dst_ip},${type},${meta},${samp_rate})