- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 104 for Lyding (0.18 sec)
-
pyproject.toml
"Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Libraries", "Topic :: Software Development", "Typing :: Typed", "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: AsyncIO", "Framework :: FastAPI", "Framework :: Pydantic", "Framework :: Pydantic :: 1",
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_src/security/tutorial003_an.py
from typing import Union from fastapi import Depends, FastAPI, HTTPException, status from fastapi.security import OAuth2PasswordBearer, OAuth2PasswordRequestForm from pydantic import BaseModel from typing_extensions import Annotated fake_users_db = { "johndoe": { "username": "johndoe", "full_name": "John Doe", "email": "******@****.***", "hashed_password": "fakehashedsecret", "disabled": False,
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Mar 26 16:56:53 GMT 2024 - 2.5K bytes - Viewed (0) -
docs_src/path_operation_advanced_configuration/tutorial007.py
from typing import List import yaml from fastapi import FastAPI, HTTPException, Request from pydantic import BaseModel, ValidationError app = FastAPI() class Item(BaseModel): name: str tags: List[str] @app.post( "/items/", openapi_extra={ "requestBody": { "content": {"application/x-yaml": {"schema": Item.model_json_schema()}}, "required": True, }, },
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 822 bytes - Viewed (0) -
docs/em/docs/tutorial/extra-models.md
``` ## `Union` โ๏ธ `anyOf` ๐ ๐ช ๐ฃ ๐จ `Union` 2๏ธโฃ ๐, ๐ โ, ๐ ๐จ ๐ ๐ 2๏ธโฃ. โซ๏ธ ๐ ๐ฌ ๐ โฎ๏ธ `anyOf`. ๐, โ๏ธ ๐ฉ ๐ ๐ ๐ <a href="https://docs.python.org/3/library/typing.html#typing.Union" class="external-link" target="_blank">`typing.Union`</a>: !!! note
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 6.8K bytes - Viewed (0) -
docs_src/query_params_str_validations/tutorial014_an.py
from typing import Union from fastapi import FastAPI, Query from typing_extensions import Annotated app = FastAPI() @app.get("/items/") async def read_items( hidden_query: Annotated[Union[str, None], Query(include_in_schema=False)] = None, ): if hidden_query: return {"hidden_query": hidden_query} else:
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Mar 26 16:56:53 GMT 2024 - 373 bytes - Viewed (0) -
docs_src/security/tutorial007_an.py
import secrets from fastapi import Depends, FastAPI, HTTPException, status from fastapi.security import HTTPBasic, HTTPBasicCredentials from typing_extensions import Annotated app = FastAPI() security = HTTPBasic() def get_current_username( credentials: Annotated[HTTPBasicCredentials, Depends(security)], ): current_username_bytes = credentials.username.encode("utf8") correct_username_bytes = b"stanleyjobson"
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Mar 26 16:56:53 GMT 2024 - 1.2K bytes - Viewed (0) -
cmd/xl-storage-format-v1.go
} // ErasureInfo holds erasure coding and bitrot related information. type ErasureInfo struct { // Algorithm is the string representation of erasure-coding-algorithm Algorithm string `json:"algorithm"` // DataBlocks is the number of data blocks for erasure-coding DataBlocks int `json:"data"` // ParityBlocks is the number of parity blocks for erasure-coding ParityBlocks int `json:"parity"`
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 8.2K bytes - Viewed (0) -
fastapi/exceptions.py
from typing import Any, Dict, Optional, Sequence, Type, Union from pydantic import BaseModel, create_model from starlette.exceptions import HTTPException as StarletteHTTPException from starlette.exceptions import WebSocketException as StarletteWebSocketException from typing_extensions import Annotated, Doc class HTTPException(StarletteHTTPException): """ An HTTP exception you can raise in your own code to show errors to the client.
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Apr 02 02:48:51 GMT 2024 - 4.9K bytes - Viewed (0) -
docs/ko/docs/tutorial/body-nested-models.md
ํ์ง๋ง ํ์ด์ฌ์ ๋ด๋ถ์ ํ์ ์ด๋ "ํ์ ๋งค๊ฐ๋ณ์"๋ฅผ ์ ์ธํ ์ ์๋ ํน์ ๋ฐฉ๋ฒ์ด ์์ต๋๋ค: ### typing์ `List` ์ํฌํธ ๋จผ์ , ํ์ด์ฌ ํ์ค `typing` ๋ชจ๋์์ `List`๋ฅผ ์ํฌํธํฉ๋๋ค: ```Python hl_lines="1" {!../../../docs_src/body_nested_models/tutorial002.py!} ``` ### ํ์ ๋งค๊ฐ๋ณ์๋ก `List` ์ ์ธ `list`, `dict`, `tuple`๊ณผ ๊ฐ์ ํ์ ๋งค๊ฐ๋ณ์(๋ด๋ถ ํ์ )๋ฅผ ๊ฐ๋ ํ์ ์ ์ ์ธํ๋ ค๋ฉด: * `typing` ๋ชจ๋์์ ์ํฌํธ * ๋๊ดํธ๋ฅผ ์ฌ์ฉํ์ฌ "ํ์ ๋งค๊ฐ๋ณ์"๋ก ๋ด๋ถ ํ์ ์ ๋ฌ: `[` ๋ฐ `]` ```Python from typing import List my_list: List[str] ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 7.6K bytes - Viewed (0) -
fastapi/background.py
from typing import Any, Callable from starlette.background import BackgroundTasks as StarletteBackgroundTasks from typing_extensions import Annotated, Doc, ParamSpec P = ParamSpec("P") class BackgroundTasks(StarletteBackgroundTasks): """ A collection of background tasks that will be called after a response has been sent to the client. Read more about it in the
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Apr 02 02:48:51 GMT 2024 - 1.7K bytes - Viewed (0)