- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 107 for Model (0.14 sec)
-
docs/en/docs/tutorial/security/oauth2-jwt.md
Many packages that simplify it a lot have to make many compromises with the data model, database, and available features. And some of these packages that simplify things too much actually have security flaws underneath. --- **FastAPI** doesn't make any compromise with any database, data model or tool. It gives you all the flexibility to choose the ones that fit your project the best.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 13K bytes - Viewed (0) -
docs/em/docs/advanced/openapi-callbacks.md
``` ### โ โฒ *โก ๐ ๏ธ* โ โฒ *โก ๐ ๏ธ* โ๏ธ ๐ `APIRouter` ๐ โ ๐. โซ๏ธ ๐ ๐ ๐ ๐ FastAPI *โก ๐ ๏ธ*: * โซ๏ธ ๐ ๐ฒ โ๏ธ ๐ ๐ช โซ๏ธ ๐ ๐จ, โ `body: InvoiceEvent`. * & โซ๏ธ ๐ช โ๏ธ ๐ ๐จ โซ๏ธ ๐ ๐จ, โ `response_model=InvoiceEventReceived`. ```Python hl_lines="16-18 21-22 28-32" {!../../../docs_src/openapi_callbacks/tutorial001.py!} ``` ๐ค 2๏ธโฃ ๐ ๐บ โช๏ธโก๏ธ ๐ *โก ๐ ๏ธ*:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 6.6K bytes - Viewed (0) -
docs/en/docs/advanced/generate-clients.md
<img src="/img/tutorial/generate-clients/image03.png"> !!! tip Notice the autocompletion for `name` and `price`, that was defined in the FastAPI application, in the `Item` model. You will have inline errors for the data that you send: <img src="/img/tutorial/generate-clients/image04.png"> The response object will also have autocompletion:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 10.5K bytes - Viewed (0) -
docs/em/docs/advanced/dataclasses.md
!!! info โ๏ธ ๐คฏ ๐ ๐ป ๐ช ๐ซ ๐ Pydantic ๐ท ๐ช. , ๐ 5๏ธโฃ๐ ๐ช โ๏ธ Pydantic ๐ท. โ๏ธ ๐ฅ ๐ โ๏ธ ๐ ๐ป ๐คฅ ๐คญ, ๐ ๐ ๐ฑ โ๏ธ ๐ซ ๐๏ธ ๐ธ ๐ ๏ธ โ๏ธ FastAPI. ๐ถ ## ๐ป `response_model` ๐ ๐ช โ๏ธ `dataclasses` `response_model` ๐ข: ```Python hl_lines="1 7-13 19" {!../../../docs_src/dataclasses/tutorial002.py!} ``` ๐ป ๐ ๐ ๐ Pydantic ๐ป. ๐ ๐, ๐ฎ ๐ ๐ ๐ฆ ๐ ๐ ๏ธ ๐ฉบ ๐ฉโ๐ป ๐ข:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 3.5K bytes - Viewed (0) -
docs/em/docs/tutorial/handling-errors.md
`RequestValidationError` ๐ง-๐ Pydantic <a href="https://docs.pydantic.dev/latest/concepts/models/#error-handling" class="external-link" target="_blank">`ValidationError`</a>. **FastAPI** โ๏ธ โซ๏ธ ๐, ๐ฅ ๐ โ๏ธ Pydantic ๐ท `response_model`, & ๐ ๐ฝ โ๏ธ โ, ๐ ๐ ๐ โ ๐ ๐น. โ๏ธ ๐ฉโ๐ป/๐ฉโ๐ป ๐ ๐ซ ๐ โซ๏ธ. โฉ๏ธ, ๐ฉโ๐ป ๐ ๐จ "๐ ๐ฝ โ" โฎ๏ธ ๐บ๐ธ๐ ๐ ๐ `500`. โซ๏ธ ๐ ๐ ๐ โฉ๏ธ ๐ฅ ๐ โ๏ธ Pydantic `ValidationError` ๐ *๐จ* โ๏ธ ๐ ๐ ๐ (๐ซ ๐ฉโ๐ป *๐จ*), โซ๏ธ ๐ค ๐ ๐ ๐.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 8.3K bytes - Viewed (0) -
pyproject.toml
] [tool.coverage.run] parallel = true source = [ "docs_src", "tests", "fastapi" ] context = '${CONTEXT}' omit = [ "docs_src/response_model/tutorial003_04.py", "docs_src/response_model/tutorial003_04_py310.py", ] [tool.ruff.lint] select = [ "E", # pycodestyle errors "W", # pycodestyle warnings "F", # pyflakes "I", # isort
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 9.3K bytes - Viewed (0) -
docs/de/docs/tutorial/path-params.md
```Python hl_lines="17" {!../../../docs_src/path_params/tutorial005.py!} ``` #### *Enum-Wert* erhalten Den tatsรคchlichen Wert (in diesem Fall ein `str`) erhalten Sie via `model_name.value`, oder generell, `ihr_enum_member.value`: ```Python hl_lines="20" {!../../../docs_src/path_params/tutorial005.py!} ``` !!! tip "Tipp"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 20:28:59 GMT 2024 - 10.3K bytes - Viewed (0) -
docs/zh/docs/advanced/dataclasses.md
ๆฐๆฎ็ฑป็ๅ่ฟไฝๆนๅผไธ Pydantic ๆจกๅ็ธๅใๅฎ้ ไธ๏ผๅฎ็ๅบๅฑไฝฟ็จ็ไนๆฏ Pydanticใ !!! info "่ฏดๆ" ๆณจๆ๏ผๆฐๆฎ็ฑปไธๆฏๆ Pydantic ๆจกๅ็ๆๆๅ่ฝใ ๅ ๆญค๏ผๅผๅๆถไป้่ฆไฝฟ็จ Pydantic ๆจกๅใ ไฝๅฆๆๆฐๆฎ็ฑปๅพๅค๏ผ่ฟไธๆๅทง่ฝ็ป FastAPI ๅผๅ Web API ๅขๆทปไธๅฐๅฉๅใ๐ค ## `response_model` ไฝฟ็จๆฐๆฎ็ฑป ๅจ `response_model` ๅๆฐไธญไฝฟ็จ `dataclasses`๏ผ ```Python hl_lines="1 7-13 19" {!../../../docs_src/dataclasses/tutorial002.py!} ``` ๆฌไพๆๆฐๆฎ็ฑป่ชๅจ่ฝฌๆขไธบ Pydantic ๆฐๆฎ็ฑปใ API ๆๆกฃไธญไนไผๆพ็คบ็ธๅ ณๆฆๅพ๏ผ
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 22:44:14 GMT 2024 - 3.8K bytes - Viewed (0) -
docs/ja/docs/tutorial/handling-errors.md
`RequestValidationError`ใฏPydanticใฎ<a href="https://docs.pydantic.dev/latest/concepts/models/#error-handling" class="external-link" target="_blank">`ValidationError`</a>ใฎใตใใฏใฉในใงใใ **FastAPI** ใฏ`response_model`ใงPydanticใขใใซใไฝฟ็จใใฆใใฆใใใผใฟใซใจใฉใผใใใฃใๅ ดๅใใญใฐใซใจใฉใผใ่กจ็คบใใใใใใซใใใไฝฟ็จใใฆใใพใใ ใใใใใฏใฉใคใขใณใใใฆใผใถใผใฏใใใ่ฆใใใจใฏใใใพใใใใใฎไปฃใใใซใใฏใฉใคใขใณใใฏHTTPในใใผใฟในใณใผใ`500`ใฎใInternal Server Errorใใๅใๅใใพใใ
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 11.8K bytes - Viewed (0) -
docs/en/docs/advanced/response-headers.md
And if you declared a `response_model`, it will still be used to filter and convert the object you returned. **FastAPI** will use that *temporal* response to extract the headers (also cookies and status code), and will put them in the final response that contains the value you returned, filtered by any `response_model`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jan 11 16:31:18 GMT 2024 - 2.2K bytes - Viewed (0)