- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 147 for Lyding (0.18 sec)
-
fastapi/param_functions.py
from typing import Any, Callable, Dict, List, Optional, Sequence, Union from fastapi import params from fastapi._compat import Undefined from fastapi.openapi.models import Example from typing_extensions import Annotated, Doc, deprecated _Unset: Any = Undefined def Path( # noqa: N802 default: Annotated[ Any, Doc( """ Default value if the parameter field is not set.
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) -
cmd/storage-rest-server.go
var hint string if endpoint.URL != nil { hint = fmt.Sprintf("Drive '%s' does not support O_DIRECT flags, MinIO erasure coding requires filesystems with O_DIRECT support", endpoint.Path) } else { hint = "Drives do not support O_DIRECT flags, MinIO erasure coding requires filesystems with O_DIRECT support" } logger.Fatal(config.ErrUnsupportedBackend(err).Hint(hint), "Unable to initialize backend")
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Apr 28 17:53:50 GMT 2024 - 44.8K bytes - Viewed (0) -
tests/test_regex_deprecated_params.py
import pytest from dirty_equals import IsDict from fastapi import FastAPI, Query from fastapi.testclient import TestClient from typing_extensions import Annotated from .utils import needs_py310 def get_client(): app = FastAPI() with pytest.warns(DeprecationWarning): @app.get("/items/") async def read_items( q: Annotated[str | None, Query(regex="^fixedquery$")] = None, ):
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 5.5K bytes - Viewed (0) -
docs/hu/docs/index.md
```console $ pip install "uvicorn[standard]" ---> 100% ``` </div> ## Példa ### Hozd létre * Hozz létre a `main.py` fájlt a következő tartalommal: ```Python from typing import Union from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}")
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 20.2K bytes - Viewed (0) -
docs/es/docs/index.md
```console $ pip install "uvicorn[standard]" ---> 100% ``` </div> ## Ejemplo ### Créalo * Crea un archivo `main.py` con: ```Python from fastapi import FastAPI from typing import Union app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: Union[str, None] = None):
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 19K bytes - Viewed (0) -
tests/test_multi_query_errors.py
from typing import List from dirty_equals import IsDict from fastapi import FastAPI, Query from fastapi.testclient import TestClient app = FastAPI() @app.get("/items/") def read_items(q: List[int] = Query(default=None)): return {"q": q} client = TestClient(app) def test_multi_query(): response = client.get("/items/?q=5&q=6") assert response.status_code == 200, response.text
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 4.5K bytes - Viewed (0) -
tests/test_filter_pydantic_sub_model_pv2.py
from typing import Optional import pytest from dirty_equals import HasRepr, IsDict, IsOneOf from fastapi import Depends, FastAPI from fastapi.exceptions import ResponseValidationError from fastapi.testclient import TestClient from .utils import needs_pydanticv2 @pytest.fixture(name="client") def get_client(): from pydantic import BaseModel, ValidationInfo, field_validator app = FastAPI() class ModelB(BaseModel):
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 6.3K bytes - Viewed (0) -
docs/zh/docs/index.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 18.2K bytes - Viewed (0) -
docs/tr/docs/features.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 11.1K bytes - Viewed (0) -
docs/tr/docs/python-types.md
Bu tipleri ve dahili tpileri bildirmek için standart Python modülünü "typing" kullanabilirsiniz. Bu tür tip belirteçlerini desteklemek için özel olarak mevcuttur. #### `List` Örneğin `str` değerlerden oluşan bir `list` tanımlayalım. From `typing`, import `List` (büyük harf olan `L` ile): ```Python hl_lines="1" {!../../../docs_src/python_types/tutorial006.py!}
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 9.7K bytes - Viewed (0)