feat(core): Upgrade pydantic to 2.x (#1428)

This commit is contained in:
Fangyin Cheng
2024-04-20 09:41:16 +08:00
committed by GitHub
parent baa1e3f9f6
commit 57be1ece18
103 changed files with 1146 additions and 534 deletions

View File

@@ -10,7 +10,7 @@ Before we start writing the code, we need to install the `pydantic` package in y
project [awel-tutorial](/docs/awel/awel_tutorial/getting_started/1.1_hello_world#creating-a-projec)
```bash
poetry add "pydantic<2,>=1"
poetry add "pydantic>=2.6.0"
```
Then create a new file named `http_trigger_say_hello.py` in the `awel_tutorial` directory and add the following code: