- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 320 for str (0.12 sec)
-
docs/en/docs/tutorial/query-params-str-validations.md
```Python hl_lines="7" {!> ../../../docs_src/query_params_str_validations/tutorial001_py310.py!} ``` === "Python 3.8+" ```Python hl_lines="9" {!> ../../../docs_src/query_params_str_validations/tutorial001.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 25.7K bytes - Viewed (0) -
docs/em/docs/tutorial/query-params-str-validations.md
```Python hl_lines="9" {!> ../../../docs_src/query_params_str_validations/tutorial001.py!} ``` === "๐ 3๏ธโฃ.1๏ธโฃ0๏ธโฃ & ๐" ```Python hl_lines="7" {!> ../../../docs_src/query_params_str_validations/tutorial001_py310.py!} ``` ๐ข ๐ข `q` ๐ `Union[str, None]` (โ๏ธ `str | None` ๐ 3๏ธโฃ.1๏ธโฃ0๏ธโฃ), ๐ โ ๐ โซ๏ธ ๐ `str` โ๏ธ ๐ช `None`, & ๐, ๐ข ๐ฒ `None`, FastAPI ๐ ๐ญ โซ๏ธ ๐ซ โ. !!! note
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/ko/docs/tutorial/query-params-str-validations.md
์ด ์์ฉ ํ๋ก๊ทธ๋จ์ ์๋ก ๋ค์ด๋ณด๊ฒ ์ต๋๋ค: ```Python hl_lines="9" {!../../../docs_src/query_params_str_validations/tutorial001.py!} ``` ์ฟผ๋ฆฌ ๋งค๊ฐ๋ณ์ `q`๋ `Optional[str]` ์๋ฃํ์ ๋๋ค. ์ฆ, `str` ์๋ฃํ์ด์ง๋ง `None` ์ญ์ ๋ ์ ์์์ ๋ปํ๊ณ , ์ค์ ๋ก ๊ธฐ๋ณธ๊ฐ์ `None`์ด๊ธฐ ๋๋ฌธ์ FastAPI๋ ์ด ๋งค๊ฐ๋ณ์๊ฐ ํ์๊ฐ ์๋๋ผ๋ ๊ฒ์ ์๋๋ค. !!! note "์ฐธ๊ณ " FastAPI๋ `q`์ ๊ธฐ๋ณธ๊ฐ์ด `= None`์ด๊ธฐ ๋๋ฌธ์ ํ์๊ฐ ์๋์ ์๋๋ค. `Optional[str]`์ ์๋ `Optional`์ FastAPI๊ฐ ์ฌ์ฉํ๋๊ฒ ์๋์ง๋ง, ํธ์ง๊ธฐ์๊ฒ ๋ ๋์ ์ง์๊ณผ ์ค๋ฅ ํ์ง๋ฅผ ์ ๊ณตํ๊ฒ ํด์ค๋๋ค. ## ์ถ๊ฐ ๊ฒ์ฆ
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Feb 11 13:48:31 GMT 2024 - 9.6K bytes - Viewed (0) -
docs/ru/docs/tutorial/query-params-str-validations.md
```Python hl_lines="7" {!> ../../../docs_src/query_params_str_validations/tutorial001_py310.py!} ``` === "Python 3.8+" ```Python hl_lines="9" {!> ../../../docs_src/query_params_str_validations/tutorial001.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 38K bytes - Viewed (0) -
docs/de/docs/tutorial/query-params-str-validations.md
```Python hl_lines="7" {!> ../../../docs_src/query_params_str_validations/tutorial001_py310.py!} ``` === "Python 3.8+" ```Python hl_lines="9" {!> ../../../docs_src/query_params_str_validations/tutorial001.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 17:58:59 GMT 2024 - 27.7K bytes - Viewed (0) -
docs/zh/docs/tutorial/query-params-str-validations.md
```Python hl_lines="7" {!../../../docs_src/query_params_str_validations/tutorial005.py!} ``` !!! note ๅ ทๆ้ป่ฎคๅผ่ฟไผไฝฟ่ฏฅๅๆฐๆไธบๅฏ้ๅๆฐใ ## ๅฃฐๆไธบๅฟ ้ๅๆฐ ๅฝๆไปฌไธ้่ฆๅฃฐๆ้ขๅค็ๆ ก้ชๆๅ ๆฐๆฎๆถ๏ผๅช้ไธๅฃฐๆ้ป่ฎคๅผๅฐฑๅฏไปฅไฝฟ `q` ๅๆฐๆไธบๅฟ ้ๅๆฐ๏ผไพๅฆ๏ผ ```Python q: str ``` ไปฃๆฟ๏ผ ```Python q: Union[str, None] = None ``` ไฝๆฏ็ฐๅจๆไปฌๆญฃๅจ็จ `Query` ๅฃฐๆๅฎ๏ผไพๅฆ๏ผ ```Python q: Union[str, None] = Query(default=None, min_length=3) ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 9.2K bytes - Viewed (0) -
fastapi/params.py
annotation: Optional[Any] = None, alias: Optional[str] = None, alias_priority: Union[int, None] = _Unset, # TODO: update when deprecating Pydantic v1, import these types # validation_alias: str | AliasPath | AliasChoices | None validation_alias: Union[str, None] = None, serialization_alias: Union[str, None] = None, title: Optional[str] = None, description: Optional[str] = None,
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 27.5K bytes - Viewed (1) -
fastapi/param_functions.py
""" ), ] = _Unset, # TODO: update when deprecating Pydantic v1, import these types # validation_alias: str | AliasPath | AliasChoices | None validation_alias: Annotated[ Union[str, None], Doc( """ 'Whitelist' validation step. The parameter field will be the single one allowed by the alias or set of aliases defined.
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 62.5K bytes - Viewed (0) -
fastapi/security/oauth2.py
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Apr 02 02:48:51 GMT 2024 - 21.1K bytes - Viewed (1) -
docs_src/security/tutorial004.py
} class Token(BaseModel): access_token: str token_type: str class TokenData(BaseModel): username: Union[str, None] = None class User(BaseModel): username: str email: Union[str, None] = None full_name: Union[str, None] = None disabled: Union[bool, None] = None class UserInDB(User): hashed_password: str
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Mar 26 16:56:53 GMT 2024 - 4K bytes - Viewed (0)