- Sort Score
- Result 10 results
- Languages All
Results 3731 - 3740 of 4,771 for Same (0.17 sec)
-
docs_src/body_multiple_params/tutorial001_an_py310.py
from typing import Annotated from fastapi import FastAPI, Path from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None @app.put("/items/{item_id}") async def update_item( item_id: Annotated[int, Path(title="The ID of the item to get", ge=0, le=1000)], q: str | None = None, item: Item | None = None,
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 579 bytes - Viewed (0) -
cmd/benchmark-utils_test.go
// Creates Object layer setup ( MakeBucket ) and then runs the PutObject benchmark. func runPutObjectBenchmark(b *testing.B, obj ObjectLayer, objSize int) { var err error // obtains random bucket name. bucket := getRandomBucketName() // create bucket. err = obj.MakeBucket(b.Context(), bucket, MakeBucketOptions{}) if err != nil { b.Fatal(err) }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 8.1K bytes - Viewed (0) -
docs_src/body_multiple_params/tutorial004_an_py39.py
from typing import Annotated, Union from fastapi import Body, FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: Union[str, None] = None price: float tax: Union[float, None] = None class User(BaseModel): username: str full_name: Union[str, None] = None @app.put("/items/{item_id}") async def update_item( *, item_id: int,
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 674 bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/privileged.yml
name: Privileged description: You are @tiangolo or he asked you directly to create an issue here. If not, check the other options. 👇 body: - type: markdown attributes: value: | Thanks for your interest in FastAPI! 🚀 If you are not @tiangolo or he didn't ask you directly to create an issue here, please start the conversation in a [Question in GitHub Discussions](https://github.com/fastapi/fastapi/discussions/categories/questions) instead.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Jul 29 23:35:07 UTC 2024 - 888 bytes - Viewed (1) -
tests/test_tutorial/test_response_directly/test_tutorial002.py
import importlib import pytest from fastapi.testclient import TestClient @pytest.fixture( name="client", params=[ pytest.param("tutorial002_py39"), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.response_directly.{request.param}") client = TestClient(mod.app) return client def test_path_operation(client: TestClient):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 1.7K bytes - Viewed (0) -
tests/test_tutorial/test_python_types/test_tutorial009_tutorial009b.py
import importlib from types import ModuleType from unittest.mock import patch import pytest from ...utils import needs_py310 @pytest.fixture( name="module", params=[ pytest.param("tutorial009_py39"), pytest.param("tutorial009_py310", marks=needs_py310), pytest.param("tutorial009b_py39"), ], ) def get_module(request: pytest.FixtureRequest):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 805 bytes - Viewed (0) -
docs_src/body_multiple_params/tutorial001_an_py39.py
from typing import Annotated, Union from fastapi import FastAPI, Path from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: Union[str, None] = None price: float tax: Union[float, None] = None @app.put("/items/{item_id}") async def update_item( item_id: Annotated[int, Path(title="The ID of the item to get", ge=0, le=1000)], q: Union[str, None] = None,
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 610 bytes - Viewed (0) -
docs_src/extending_openapi/tutorial001_py39.py
from fastapi import FastAPI from fastapi.openapi.utils import get_openapi app = FastAPI() @app.get("/items/") async def read_items(): return [{"name": "Foo"}] def custom_openapi(): if app.openapi_schema: return app.openapi_schema openapi_schema = get_openapi( title="Custom title", version="2.5.0", summary="This is a very custom OpenAPI schema",
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 737 bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/SanityCheck.kt
import model.CIBuildModel import model.Stage class SanityCheck( model: CIBuildModel, stage: Stage, ) : OsAwareBaseGradleBuildType(os = Os.LINUX, stage = stage, init = { id(buildTypeId(model)) name = "Sanity Check" description = "Static code analysis, checkstyle, release notes verification, etc." features { publishBuildStatusToGithub(model) } applyDefaults(
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Aug 25 20:21:47 UTC 2025 - 1.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/pager/FileConfigPager.java
private int pageSize; /** Current page number */ private int currentPageNumber; /** Configuration ID */ public String id; /** Configuration name */ public String name; /** File system paths to crawl */ public String paths; /** Number of threads for crawling */ public String numOfThread; /** Interval time between crawling operations */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.3K bytes - Viewed (0)