- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 30 for from (0.14 sec)
-
docs/tr/docs/index.md
<abbr title="Gövde: Body">Gövde</abbr>yi Pydantic sayesinde standart python tiplerini kullanarak tanımlayalım. ```Python hl_lines="4 9-12 25-27" from typing import Union from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str price: float is_offer: Union[bool, None] = None @app.get("/")
Plain Text - Registered: Sun Apr 14 07:19:09 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 21.9K bytes - Viewed (0) -
docs/em/docs/index.md
Plain Text - Registered: Sun Apr 14 07:19:09 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 17.2K bytes - Viewed (0) -
docs/uk/docs/index.md
Тепер модифікуйте файл `main.py`, щоб отримати вміст запиту `PUT`. Оголошуйте вміст запиту за допомогою стандартних типів Python завдяки Pydantic. ```Python hl_lines="4 9-12 25-27" from typing import Union from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str price: float is_offer: Union[bool, None] = None @app.get("/")
Plain Text - Registered: Sun Apr 14 07:19:09 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 24.2K bytes - Viewed (0) -
docs/fr/docs/index.md
Déclarez ce corps en utilisant les types Python standards, grâce à Pydantic. ```Python hl_lines="4 9-12 25-27" from typing import Union from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str price: float is_offer: Union[bool, None] = None @app.get("/")
Plain Text - Registered: Sun Apr 14 07:19:09 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 22K bytes - Viewed (0) -
docs/en/docs/advanced/index.md
And it's possible that for your use case, the solution is in one of them. ## Read the Tutorial first You could still use most of the features in **FastAPI** with the knowledge from the main [Tutorial - User Guide](../tutorial/index.md){.internal-link target=_blank}. And the next sections assume you already read it, and assume that you know those main ideas. ## External Courses
Plain Text - Registered: Sun Apr 14 07:19:09 GMT 2024 - Last Modified: Sun Mar 31 23:52:53 GMT 2024 - 1.8K bytes - Viewed (0) -
docs/en/docs/reference/security/index.md
integrated into OpenAPI so they are shown in the automatic docs UI, they can be used by automatically generated clients and SDKs, etc. You can import them from `fastapi.security`: ```python from fastapi.security import ( APIKeyCookie, APIKeyHeader, APIKeyQuery, HTTPAuthorizationCredentials, HTTPBasic, HTTPBasicCredentials, HTTPBearer, HTTPDigest,
Plain Text - Registered: Sun Apr 14 07:19:09 GMT 2024 - Last Modified: Wed Oct 18 12:36:40 GMT 2023 - 1.6K bytes - Viewed (0) -
docs/en/docs/tutorial/security/index.md
OpenAPI defines the following security schemes: * `apiKey`: an application specific key that can come from: * A query parameter. * A header. * A cookie. * `http`: standard HTTP authentication systems, including: * `bearer`: a header `Authorization` with a value of `Bearer ` plus a token. This is inherited from OAuth2. * HTTP Basic authentication. * HTTP Digest, etc.
Plain Text - Registered: Sun Apr 14 07:19:09 GMT 2024 - Last Modified: Sat Jun 24 14:47:15 GMT 2023 - 4.3K bytes - Viewed (0) -
docs/zh-hant/docs/index.md
## 範例升級 現在繼續修改 `main.py` 檔案,來接收一個帶有 body 的 `PUT` 請求。 我們使用 Pydantic 來使用標準的 Python 型別聲明請求。 ```Python hl_lines="4 9-12 25-27" from typing import Union from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str price: float is_offer: Union[bool, None] = None @app.get("/")
Plain Text - Registered: Sun Apr 14 07:19:09 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 18.8K bytes - Viewed (0) -
docs/ko/docs/index.md
## 예제 심화 이제 `PUT` 요청에 있는 본문(Body)을 받기 위해 `main.py`를 수정해봅시다. Pydantic을 이용해 파이썬 표준 타입으로 본문을 선언합니다. ```Python hl_lines="4 9 10 11 12 25 26 27" from typing import Union from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str price: float is_offer: Union[bool, None] = None @app.get("/")
Plain Text - Registered: Sun Apr 14 07:19:09 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 19.4K bytes - Viewed (0) -
docs/hu/docs/index.md
Módosítsuk a `main.py` fájlt, hogy `PUT` kérések esetén tudjon body-t fogadni. Deklaráld a body-t standard Python típusokkal, a Pydantic-nak köszönhetően. ```Python hl_lines="4 9-12 25-27" from typing import Union from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str price: float is_offer: Union[bool, None] = None @app.get("/")
Plain Text - Registered: Sun Apr 14 07:19:09 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 20.2K bytes - Viewed (0)