Skip to content

Commit

Permalink
Merge pull request #199 from nicola-corbellini/form_imports
Browse files Browse the repository at this point in the history
Add imports in form examples
  • Loading branch information
lucagobbi authored Oct 27, 2024
2 parents f5b549b + e4f9c4a commit 455d415
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mkdocs/plugins/forms.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ This is where Forms come in handy!
## Implementation

```python
import requests
from pydantic import BaseModel
from cat.experimental.form import CatForm, CatFormState, form

class PizzaOrder(BaseModel): #(1)
pizza_type: str
Expand Down

0 comments on commit 455d415

Please sign in to comment.