mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-06 11:31:12 +00:00
feat(core): Upgrade pydantic to 2.x (#1428)
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user