Skip to content

Commit

Permalink
add the extension field
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaelicke authored Dec 12, 2023
1 parent 36a9f39 commit 0620708
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docs/input.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,26 @@ At runtime, as the client application mounts data and parameterizations into the
container at `/in/`, the examples are non-existent in the container and cannot
accidentally pollute the runtime container.


#### `extension`

The `extension` field is optional and can be used to limit the permitted file
extensions for a data input. Allowed is a single string input or a list of strings.
By convention, the point `.` should be included into the `extension` as well.

```yaml
extension: .csv
```

```yaml
extension:
- .dat
- .txt
- .DAT
- .TXT
```


## Example

```yaml
Expand Down

0 comments on commit 0620708

Please sign in to comment.