- Sort Score
- Num 10 results
- Language All
Results 1291 - 1300 of 2,994 for class (0.04 seconds)
-
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.java-shared-runtime.gradle.kts
java { sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 } testing { suites { val test by getting(JvmTestSuite::class) { useSpock() dependencies { implementation(platform("gradlebuild:build-platform")) } } }Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Jan 22 14:28:13 GMT 2025 - 699 bytes - Click Count (0) -
docs_src/custom_request_and_route/tutorial001_py310.py
from fastapi.routing import APIRoute class GzipRequest(Request): async def body(self) -> bytes: if not hasattr(self, "_body"): body = await super().body() if "gzip" in self.headers.getlist("Content-Encoding"): body = gzip.decompress(body) self._body = body return self._body class GzipRoute(APIRoute): def get_route_handler(self) -> Callable:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 10 08:55:32 GMT 2025 - 976 bytes - Click Count (0) -
docs_src/custom_request_and_route/tutorial001_py39.py
from fastapi.routing import APIRoute class GzipRequest(Request): async def body(self) -> bytes: if not hasattr(self, "_body"): body = await super().body() if "gzip" in self.headers.getlist("Content-Encoding"): body = gzip.decompress(body) self._body = body return self._body class GzipRoute(APIRoute): def get_route_handler(self) -> Callable:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 10 08:55:32 GMT 2025 - 967 bytes - Click Count (0) -
tensorflow/c/c_api_internal.h
#include "tensorflow/core/platform/mutex.h" #include "tensorflow/core/platform/status.h" #include "tensorflow/core/platform/types.h" #include "tensorflow/core/public/session.h" namespace tensorflow { class Device; class DeviceMgr; class ServerInterface; } // namespace tensorflow // Internal structures used by the C API. These are likely to change and should // not be depended on. struct TF_SessionOptions {Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Sat May 13 00:49:12 GMT 2023 - 7.6K bytes - Click Count (0) -
docs/fr/docs/advanced/additional-responses.md
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Nov 09 16:39:20 GMT 2024 - 9.5K bytes - Click Count (0) -
docs_src/body_fields/tutorial001_py310.py
from fastapi import Body, FastAPI from pydantic import BaseModel, Field app = FastAPI() class Item(BaseModel): name: str description: str | None = Field( default=None, title="The description of the item", max_length=300 ) price: float = Field(gt=0, description="The price must be greater than zero") tax: float | None = None @app.put("/items/{item_id}")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri May 13 23:38:22 GMT 2022 - 523 bytes - Click Count (0) -
docs_src/response_model/tutorial001_py39.py
from typing import Any, Union from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: Union[str, None] = None price: float tax: Union[float, None] = None tags: list[str] = [] @app.post("/items/", response_model=Item) async def create_item(item: Item) -> Any: return item @app.get("/items/", response_model=list[Item])
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Jan 07 13:45:48 GMT 2023 - 556 bytes - Click Count (0) -
docs_src/handling_errors/tutorial003_py39.py
from fastapi import FastAPI, Request from fastapi.responses import JSONResponse class UnicornException(Exception): def __init__(self, name: str): self.name = name app = FastAPI() @app.exception_handler(UnicornException) async def unicorn_exception_handler(request: Request, exc: UnicornException): return JSONResponse( status_code=418,
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 626 bytes - Click Count (0) -
.teamcity/src/main/kotlin/projects/FunctionalTestProject.kt
import model.Stage import model.TestCoverage const val DEFAULT_FUNCTIONAL_TEST_BUCKET_SIZE = 50 const val DEFAULT_LINUX_FUNCTIONAL_TEST_BUCKET_SIZE = 20 const val DEFAULT_MACOS_FUNCTIONAL_TEST_BUCKET_SIZE = 20 class FunctionalTestProject( val model: CIBuildModel, functionalTestBucketProvider: FunctionalTestBucketProvider, val testCoverage: TestCoverage, val stage: Stage, ) : Project({
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Feb 12 09:12:03 GMT 2025 - 876 bytes - Click Count (0) -
tensorflow/c/eager/abstract_context.h
// Release any underlying resources, including the interface object. // // WARNING: The destructor of this class is marked as protected to disallow // clients from directly destroying this object since it may manage its own // lifetime through ref counting. Thus clients MUST call Release() in order to // destroy an instance of this class. virtual void Release() = 0; // Creates an operation builder and ties it to this context.
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 3K bytes - Click Count (0)