Skip to content

Commit

Permalink
Edit typo in docs about inputs (#393)
Browse files Browse the repository at this point in the history
  • Loading branch information
khuyentran1401 authored Jul 31, 2023
1 parent c2f6cbb commit 682472b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions content/docs/02.tutorial/02.inputs.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ Flows can have Input. They are parameters provided when starting a flow. They he
## Defining inputs

We defined Inputs in the `inputs` section of the flow file. They must have a `name` and a `type`.
You can also set a `default` value.
You can also set a `defaults` value.

```yaml
inputs:
- name: isTutorial
type: BOOLEAN
default: true
defaults: true
```
| Type | Description |
Expand All @@ -40,7 +40,7 @@ In our example, we will provide the URL of the CSV file we want to download in I
inputs:
- name: url
type: STRING
default: "https://gist.githubusercontent.com/tchiotludo/2b7f28f4f507074e60150aedb028e074/raw/6b6348c4f912e79e3ffccaf944fd019bf51cba30/conso-elec-gaz-annuelle-par-naf-agregee-region.csv"
defaults: "https://gist.githubusercontent.com/tchiotludo/2b7f28f4f507074e60150aedb028e074/raw/6b6348c4f912e79e3ffccaf944fd019bf51cba30/conso-elec-gaz-annuelle-par-naf-agregee-region.csv"
```

::collapse{title="Click here to see the full flow"}
Expand All @@ -55,7 +55,7 @@ description: |
inputs:
- name: url
type: STRING
default: "https://gist.githubusercontent.com/tchiotludo/2b7f28f4f507074e60150aedb028e074/raw/6b6348c4f912e79e3ffccaf944fd019bf51cba30/conso-elec-gaz-annuelle-par-naf-agregee-region.csv"
defaults: "https://gist.githubusercontent.com/tchiotludo/2b7f28f4f507074e60150aedb028e074/raw/6b6348c4f912e79e3ffccaf944fd019bf51cba30/conso-elec-gaz-annuelle-par-naf-agregee-region.csv"
tasks:
- id: download
type: io.kestra.plugin.fs.http.Download
Expand Down

1 comment on commit 682472b

@vercel
Copy link

@vercel vercel bot commented on 682472b Jul 31, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

kestra-io – ./

kestra-io-kestra.vercel.app
kestra-io.vercel.app
kestra-io-git-main-kestra.vercel.app

Please sign in to comment.