Skip to content

Commit

Permalink
Merge pull request #2200 from SEKOIA-IO/doc/updatepydanticver
Browse files Browse the repository at this point in the history
update pydantic version in doc sample
  • Loading branch information
squioc authored Feb 19, 2025
2 parents 3ffe7fb + 7e76d57 commit cb99354
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/getting_started/notifications-Examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ from typing import Literal, Optional

import httpx
from fastapi import BackgroundTasks, FastAPI
from pydantic import BaseModel, BaseSettings
from pydantic.v1 import BaseModel, BaseSettings


class WebHookSettings(BaseSettings): # (4)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Inside our Python package `testhttp_modules` we can create a new file `trigger_n
```python
import time

from pydantic import BaseModel, HttpUrl
from pydantic.v1 import BaseModel, HttpUrl
import requests
from requests import HTTPError
from sekoia_automation.trigger import Trigger # (1)!
Expand Down Expand Up @@ -149,7 +149,7 @@ Inside our Python package `testhttp_modules` we can create a new file `action_re
```python
from typing import Literal

from pydantic import BaseModel, HttpUrl
from pydantic.v1 import BaseModel, HttpUrl
import requests
from sekoia_automation.action import Action # (1)!

Expand Down

0 comments on commit cb99354

Please sign in to comment.