- Sort Score
- Num 10 results
- Language All
Results 911 - 920 of 2,994 for class (0.01 seconds)
-
docs_src/cookie_param_models/tutorial001_an_py39.py
from typing import Annotated, Union from fastapi import Cookie, FastAPI from pydantic import BaseModel app = FastAPI() class Cookies(BaseModel): session_id: str fatebook_tracker: Union[str, None] = None googall_tracker: Union[str, None] = None @app.get("/items/") async def read_items(cookies: Annotated[Cookies, Cookie()]):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Sep 17 18:54:10 GMT 2024 - 362 bytes - Click Count (0) -
docs_src/extra_models/tutorial004_py39.py
from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str items = [ {"name": "Foo", "description": "There comes my hero"}, {"name": "Red", "description": "It's my aeroplane"}, ] @app.get("/items/", response_model=list[Item]) async def read_items():
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 356 bytes - Click Count (0) -
docs_src/path_operation_configuration/tutorial002b_py39.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 323 bytes - Click Count (0) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt
check(!closed) { "ApiTypeProvider closed!" } return action() } internal class Context( private val typeProvider: ApiTypeProvider, ) { fun type(sourceName: String): ApiType? = typeProvider.type(sourceName) } } class ApiType internal constructor( private val asmLevel: Int, private val incubatingAnnotationTypeDescriptor: String,
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Mar 12 15:56:18 GMT 2025 - 20.2K bytes - Click Count (0) -
.teamcity/src/main/kotlin/projects/PerformanceTestProject.kt
import model.Stage abstract class PerformanceTestProject( model: CIBuildModel, val spec: PerformanceTestProjectSpec, val performanceTests: List<PerformanceTest>, ) : Project({ this.id(spec.asConfigurationId(model)) this.name = spec.asName() }) { init { performanceTests.forEach(this::buildType) } } class AutomaticallySplitPerformanceTestProject(
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Feb 12 09:12:03 GMT 2025 - 1.2K bytes - Click Count (0) -
docs/en/docs/how-to/testing-database.md
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 09:15:41 GMT 2025 - 540 bytes - Click Count (0) -
docs_src/encoder/tutorial001_py310.py
from datetime import datetime from fastapi import FastAPI from fastapi.encoders import jsonable_encoder from pydantic import BaseModel fake_db = {} class Item(BaseModel): title: str timestamp: datetime description: str | None = None app = FastAPI() @app.put("/items/{id}") def update_item(id: str, item: Item): json_compatible_item_data = jsonable_encoder(item)Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 430 bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ArtifactModelSource.java
/** * Represents a model pulled from a repository * * @since 4.0.0 * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead */ @Deprecated(since = "4.0.0") public class ArtifactModelSource extends FileSource implements ModelSource { private final String groupId; private final String artifactId; private final String version; private final int hashCode;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 2.8K bytes - Click Count (0) -
docs/ru/docs/how-to/conditional-openapi.md
Сокрытие документации лишь усложняет понимание того, как взаимодействовать с вашим API, и может усложнить его отладку в продакшн. Это можно считать просто разновидностью <a href="https://en.wikipedia.org/wiki/Security_through_obscurity" class="external-link" target="_blank">безопасности через сокрытие</a>. Если вы хотите обезопасить свой API, есть несколько более эффективных вещей, которые можно сделать, например:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4.1K bytes - Click Count (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/extension/ReleasedVersionsDetails.kt
import com.google.gson.Gson import gradlebuild.identity.model.ReleasedVersions import org.gradle.api.file.RegularFile import org.gradle.util.GradleVersion import org.gradle.util.internal.VersionNumber class ReleasedVersionsDetails(currentBaseVersion: GradleVersion, releasedVersionsFile: RegularFile) { val allPreviousVersions: List<GradleVersion> val mostRecentRelease: GradleVersion val mostRecentSnapshot: GradleVersion
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Sep 10 06:04:09 GMT 2025 - 3.3K bytes - Click Count (0)