- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 532 for noto (0.14 sec)
-
tests/test_request_body_parameters_media_type.py
import typing from fastapi import Body, FastAPI from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() media_type = "application/vnd.api+json" # NOTE: These are not valid JSON:API resources # but they are fine for testing requestBody with custom media_type class Product(BaseModel): name: str price: float class Shop(BaseModel): name: str @app.post("/products")
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 6.4K bytes - Viewed (0) -
docs/en/docs/contributing.md
Now you can translate it all and see how it looks as you save the file. #### New Language Let's say that you want to add translations for a language that is not yet translated, not even some pages. Let's say you want to add translations for Creole, and it's not yet there in the docs. Checking the link from above, the code for "Creole" is `ht`. The next step is to run the script to generate a new translation directory:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jan 11 17:42:43 GMT 2024 - 14.1K bytes - Viewed (0) -
docs/en/docs/tutorial/response-model.md
{!> ../../../docs_src/response_model/tutorial003_04.py!} ``` ...this fails because the type annotation is not a Pydantic type and is not just a single `Response` class or subclass, it's a union (any of the two) between a `Response` and a `dict`. ### Disable Response Model Continuing from the example above, you might not want to have the default data validation, documentation, filtering, etc. that is performed by FastAPI.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 17.9K bytes - Viewed (0) -
docs/en/docs/tutorial/first-steps.md
### Step 1: import `FastAPI` ```Python hl_lines="1" {!../../../docs_src/first_steps/tutorial001.py!} ``` `FastAPI` is a Python class that provides all the functionality for your API. !!! note "Technical Details" `FastAPI` is a class that inherits directly from `Starlette`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 12K bytes - Viewed (0) -
docs/em/docs/tutorial/query-params-str-validations.md
```Python hl_lines="7" {!../../../docs_src/query_params_str_validations/tutorial013.py!} ``` !!! note โ๏ธ ๐คฏ ๐ ๐ ๐ผ, FastAPI ๐ ๐ซ โ ๐ ๐. ๐ผ, `List[int]` ๐ โ (& ๐) ๐ ๐ ๐ ๐ข. โ๏ธ `list` ๐ ๐ซ๐. ## ๐ฃ ๐ ๐ ๐ ๐ช ๐ฎ ๐ โน ๐ ๐ข. ๐ โน ๐ ๐ ๐ ๐ & โ๏ธ ๐งพ ๐ฉโ๐ป ๐ข & ๐ข ๐งฐ. !!! note โ๏ธ ๐คฏ ๐ ๐ ๐งฐ 5๏ธโฃ๐ โ๏ธ ๐ ๐ ๐ ๐โ๐ฆบ. ๐ซ ๐ช ๐ซ ๐ฆ ๐ โ โน ๐ฃ, ๐ ๐ ๐ผ, โ โ โช ๐ ๐ ๏ธ.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 11.9K bytes - Viewed (0) -
docs/em/docs/advanced/nosql-databases.md
๐ ๐ โ๏ธ ๐ฝ ๐ ๐ค ๐ช ๐ฝ. ๐ฅ ๐ซ โ โซ๏ธ ๐ฟ Pydantic `BaseModel` โ๏ธ ๐ฟ ๐ ๐ `User`, โฉ๏ธ โซ๏ธ ๐ โ๏ธ ๐ ๐ข `User` โ ๐ฉโโคโ๐จ ๐ : ```Python hl_lines="31-33" {!../../../docs_src/nosql_databases/tutorial001.py!} ``` !!! note ๐ ๐ ๐ฅ โ๏ธ `hashed_password` & `type` ๐ ๐ ๐ ๐ช ๐ฝ. โ๏ธ โซ๏ธ ๐ซ ๐ ๐ข `User` ๐ท (1๏ธโฃ ๐ฅ ๐ ๐จ *โก ๐ ๏ธ*). ## ๐ค ๐ฉโ๐ป ๐ โ ๐ข ๐ ๐: * โ ๐. * ๐ ๐ ๐ โช๏ธโก๏ธ โซ๏ธ. * ๐ค ๐ โฎ๏ธ ๐ ๐.
Plain Text - Registered: Sun Mar 31 07:19:09 GMT 2024 - Last Modified: Sat Apr 01 09:26:04 GMT 2023 - 4.8K bytes - Viewed (0) -
docs/ja/docs/deployment/concepts.md
ๆฌกใฎ็ซ ใงใฏใFastAPIใขใใชใฑใผใทใงใณใใใใญใคใใใใใฎ**ๅ ทไฝ็ใชใฌใทใ**ใ็ดนไปใใพใใ ใใใใไปใฏใใใใฎ้่ฆใช**ใณใณใปใใใซๅบใฅใใขใคใใข**ใ็ขบ่ชใใพใใใใใใใใฎใณใณใปใใใฏใไปใฎใฉใฎใฟใคใใฎWeb APIใซใๅฝใฆใฏใพใใพใใ๐ก ## ใปใญใฅใชใใฃ - HTTPS <!-- NOTE: https.md written in Japanese does not exist, so it redirects to English one --> [ๅใใฃใใฟใผใฎHTTPSใซใคใใฆ](https.md){.internal-link target=_blank}ใงใฏใHTTPSใใฉใฎใใใซAPIใๆๅทๅใใใฎใใซใคใใฆๅญฆใณใพใใใ
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 24.1K bytes - Viewed (0) -
docs/pt/docs/tutorial/body-fields.md
## Importe `Field` Primeiro, vocรช tem que importรก-lo: ```Python hl_lines="4" {!../../../docs_src/body_fields/tutorial001.py!} ``` !!! warning "Aviso" Note que `Field` รฉ importado diretamente do `pydantic`, nรฃo do `fastapi` como todo o resto (`Query`, `Path`, `Body`, etc). ## Declare atributos do modelo Vocรช pode entรฃo utilizar `Field` com atributos do modelo:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jul 02 15:00:11 GMT 2021 - 2.2K bytes - Viewed (0) -
docs/em/docs/tutorial/response-status-code.md
โซ๏ธ ๐: * ๐จ ๐ ๐ ๐ ๐จ. * ๐ โซ๏ธ โ ๐ ๐ ( & , ๐ฉโ๐ป ๐ข): <img src="/img/tutorial/response-status-code/image01.png"> !!! note ๐จ ๐ (๐ โญ ๐) ๐ฆ ๐ ๐จ ๐จ ๐ซ โ๏ธ ๐ช. FastAPI ๐ญ ๐, & ๐ ๐ญ ๐ ๐ฉบ ๐ ๐ต๐ธ ๐ค ๐ โโ ๐จ ๐ช. ## ๐ ๐บ๐ธ๐ ๐ ๐ !!! note ๐ฅ ๐ โช ๐ญ โซ๏ธโ ๐บ๐ธ๐ ๐ ๐, ๐ถ โญ ๐. ๐บ๐ธ๐, ๐ ๐จ ๐ข ๐ ๐ 3๏ธโฃ 9๏ธโฃ ๐ ๐จ. ๐ซ ๐ ๐ โ๏ธ ๐ ๐ ๐ค ๐ซ, โ๏ธ โ ๐ ๐ข. ๐:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Apr 01 09:26:04 GMT 2023 - 3.4K bytes - Viewed (0) -
fastapi/security/http.py
scheme, credentials = get_authorization_scheme_param(authorization) if not (authorization and scheme and credentials): if self.auto_error: raise HTTPException( status_code=HTTP_403_FORBIDDEN, detail="Not authenticated" ) else: return None
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Apr 19 15:29:38 GMT 2024 - 13.2K bytes - Viewed (0)