Skip to content

Commit f7ba971

Browse files
committed
readd pydantic to Python part
1 parent 891c9b3 commit f7ba971

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

app/main.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
import wit_world
22

3-
# from pydantic import BaseModel
3+
from pydantic import BaseModel
44

5-
# class Protocol(BaseModel):
6-
# text: str
5+
6+
class Protocol(BaseModel):
7+
text: str
78

89

910
class WitWorld(wit_world.WitWorld):

0 commit comments

Comments
 (0)