- Sort Score
- Num 10 results
- Language All
Results 5621 - 5630 of 9,145 for clase (0.03 seconds)
-
docs_src/query_param_models/tutorial001_an_py39.py
from typing import Annotated, Literal from fastapi import FastAPI, Query from pydantic import BaseModel, Field app = FastAPI() class FilterParams(BaseModel): limit: int = Field(100, gt=0, le=100) offset: int = Field(0, ge=0) order_by: Literal["created_at", "updated_at"] = "created_at" tags: list[str] = [] @app.get("/items/") async def read_items(filter_query: Annotated[FilterParams, Query()]):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 443 bytes - Click Count (0) -
docs_src/query_param_models/tutorial002_py39.py
from typing import Literal from fastapi import FastAPI, Query from pydantic import BaseModel, Field app = FastAPI() class FilterParams(BaseModel): model_config = {"extra": "forbid"} limit: int = Field(100, gt=0, le=100) offset: int = Field(0, ge=0) order_by: Literal["created_at", "updated_at"] = "created_at" tags: list[str] = [] @app.get("/items/")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 462 bytes - Click Count (0) -
docs/pt/docs/advanced/testing-websockets.md
{* ../../docs_src/app_testing/tutorial002_py39.py hl[27:31] *} /// note | Nota Para mais detalhes, confira a documentação do Starlette para <a href="https://www.starlette.dev/testclient/#testing-websocket-sessions" class="external-link" target="_blank">testar WebSockets</a>.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 497 bytes - Click Count (0) -
docs_src/schema_extra_example/tutorial002_py310.py
from fastapi import FastAPI from pydantic import BaseModel, Field app = FastAPI() class Item(BaseModel): name: str = Field(examples=["Foo"]) description: str | None = Field(default=None, examples=["A very nice Item"]) price: float = Field(examples=[35.4]) tax: float | None = Field(default=None, examples=[3.2]) @app.put("/items/{item_id}") async def update_item(item_id: int, item: Item):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 479 bytes - Click Count (0) -
docs_src/path_operation_configuration/tutorial003_py310.py
from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None tags: set[str] = set() @app.post( "/items/", response_model=Item, summary="Create an item", description="Create an item with all the information, name, description, price, tax and a set of unique tags", )
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 474 bytes - Click Count (0) -
docs/en/docs/advanced/testing-websockets.md
{* ../../docs_src/app_testing/tutorial002_py39.py hl[27:31] *} /// note For more details, check Starlette's documentation for <a href="https://www.starlette.dev/testclient/#testing-websocket-sessions" class="external-link" target="_blank">testing WebSockets</a>.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 459 bytes - Click Count (0) -
cmd/encryption-v1.go
// set new encryption metadata from http request headers for SSE-C and generated key from KMS in the case of // SSE-S3 func setEncryptionMetadata(r *http.Request, bucket, object string, metadata map[string]string) (err error) { var ( key []byte keyID string kmsCtx kms.Context ) kind, _ := crypto.IsRequested(r.Header) switch kind { case crypto.SSEC: key, err = ParseSSECustomerRequest(r) if err != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 38K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/DownloadForm.java
import org.lastaflute.web.validation.Required; /** * The download form for Kuromoji dictionary. * This form is used for downloading Kuromoji dictionary files from the admin interface. * */ public class DownloadForm { /** * Dictionary ID for identifying the Kuromoji dictionary to download. */ @Required public String dictId; /** * Default constructor. */Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.1K bytes - Click Count (0) -
module-tests/src/main/java/okhttp3/modules/OkHttpCaller.java
import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.logging.HttpLoggingInterceptor; import okhttp3.logging.LoggingEventListener; /** * Just checking compilation works */ public class OkHttpCaller { public static Call callOkHttp(HttpUrl url) { OkHttpClient client = new OkHttpClient .Builder() .eventListenerFactory(new LoggingEventListener.Factory(HttpLoggingInterceptor.Logger.DEFAULT))Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Sep 21 06:22:22 GMT 2025 - 1.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/badword/SearchBody.java
import org.codelibs.fess.app.web.api.admin.BaseSearchBody; /** * Search request body for bad word administration. * Extends BaseSearchBody with bad word-specific search parameters. */ public class SearchBody extends BaseSearchBody { /** The bad word ID to search for. */ public String id; /** * Default constructor for SearchBody. */ public SearchBody() { super();Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.1K bytes - Click Count (0)