- Sort Score
- Num 10 results
- Language All
Results 1031 - 1040 of 2,978 for Class (0.1 seconds)
-
docs_src/dependencies/tutorial003_an_py39.py
from typing import Annotated, Any, Union from fastapi import Depends, FastAPI app = FastAPI() fake_items_db = [{"item_name": "Foo"}, {"item_name": "Bar"}, {"item_name": "Baz"}] class CommonQueryParams: def __init__(self, q: Union[str, None] = None, skip: int = 0, limit: int = 100): self.q = q self.skip = skip self.limit = limit @app.get("/items/")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 668 bytes - Click Count (0) -
docs/ko/docs/advanced/wsgi.md
이제 `/v1/` 경로에 있는 모든 요청은 Flask 응용 프로그램에서 처리됩니다. 그리고 나머지는 **FastAPI**에 의해 처리됩니다. 실행하면 <a href="http://localhost:8000/v1/" class="external-link" target="_blank">http://localhost:8000/v1/</a>으로 이동해서 Flask의 응답을 볼 수 있습니다: ```txt Hello, World from Flask! ``` 그리고 다음으로 이동하면 <a href="http://localhost:8000/v2" class="external-link" target="_blank">http://localhost:8000/v2</a> Flask의 응답을 볼 수 있습니다: ```JSON { "message": "Hello World"
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 1.3K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/JapicmpTaskWithKotlin.java
import org.gradle.api.artifacts.dsl.DependencyHandler; import org.gradle.api.file.ConfigurableFileCollection; import org.gradle.api.tasks.CacheableTask; import java.lang.reflect.Field; @CacheableTask public abstract class JapicmpTaskWithKotlin extends JapicmpTask { public JapicmpTaskWithKotlin() { super(); addKotlinCompilerToJapicmpClasspath(); getMaxWorkerHeap().convention("1g"); }Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 24 14:15:15 GMT 2025 - 2.3K bytes - Click Count (0) -
docs/en/docs/tutorial/security/simple-oauth2.md
/// info The `OAuth2PasswordRequestForm` is not a special class for **FastAPI** as is `OAuth2PasswordBearer`. `OAuth2PasswordBearer` makes **FastAPI** know that it is a security scheme. So it is added that way to OpenAPI. But `OAuth2PasswordRequestForm` is just a class dependency that you could have written yourself, or you could have declared `Form` parameters directly.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 09:15:41 GMT 2025 - 9.4K bytes - Click Count (0) -
docs/pt/docs/tutorial/schema-extra-example.md
* `Path()` * `Query()` * `Header()` * `Cookie()`Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Nov 12 16:23:57 GMT 2025 - 10.3K bytes - Click Count (0) -
docs/es/docs/tutorial/schema-extra-example.md
* `Path()` * `Query()` * `Header()` * `Cookie()`Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 16:33:45 GMT 2025 - 10.3K bytes - Click Count (0) -
build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java
import java.util.stream.Collectors; import java.util.stream.Stream; /** * NOTICE: this class is invoked via java command line, so we must NOT DEPEND ON ANY 3RD-PARTY LIBRARIES except JDK 11. * * Usage: java build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java */ public class KillLeakingJavaProcesses { enum ExecutionMode { /**Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Sep 23 13:49:45 GMT 2025 - 12K bytes - Click Count (0) -
tests/test_additional_responses_custom_validationerror.py
from fastapi.responses import JSONResponse from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() class JsonApiResponse(JSONResponse): media_type = "application/vnd.api+json" class Error(BaseModel): status: str title: str class JsonApiError(BaseModel): errors: list[Error] @app.get( "/a/{id}", response_class=JsonApiResponse,
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 2.9K bytes - Click Count (0) -
docs_src/additional_responses/tutorial004_py39.py
from typing import Union from fastapi import FastAPI from fastapi.responses import FileResponse from pydantic import BaseModel class Item(BaseModel): id: str value: str responses = { 404: {"description": "Item not found"}, 302: {"description": "The item was moved"}, 403: {"description": "Not enough privileges"}, } app = FastAPI() @app.get( "/items/{item_id}",
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 701 bytes - Click Count (0) -
tests/test_request_params/test_form/test_list.py
# Without aliases @app.post("/required-list-str", operation_id="required_list_str") async def read_required_list_str(p: Annotated[list[str], Form()]): return {"p": p} class FormModelRequiredListStr(BaseModel): p: list[str] @app.post("/model-required-list-str", operation_id="model_required_list_str") def read_model_required_list_str(p: Annotated[FormModelRequiredListStr, Form()]):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:31:34 GMT 2025 - 11.7K bytes - Click Count (0)