- Sort Score
- Num 10 results
- Language All
Results 2951 - 2960 of 5,779 for classe (0.09 seconds)
-
docs_src/body_multiple_params/tutorial001_py310.py
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: int = Path(title="The ID of the item to get", ge=0, le=1000), q: str | None = None, item: Item | None = None, ):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri May 13 23:38:22 GMT 2022 - 546 bytes - Click Count (0) -
tests/test_stringified_annotation_dependency_py314.py
from typing import TYPE_CHECKING, Annotated from fastapi import Depends, FastAPI from fastapi.testclient import TestClient from .utils import needs_py314 if TYPE_CHECKING: # pragma: no cover class DummyUser: ... @needs_py314 def test_stringified_annotation(): # python3.14: Use forward reference without "from __future__ import annotations" async def get_current_user() -> DummyUser | None: return NoneCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 04 13:49:44 GMT 2026 - 711 bytes - Click Count (0) -
tests/forward_reference_type.py
from pydantic import BaseModel def forwardref_method(input: "ForwardRefModel") -> "ForwardRefModel": return ForwardRefModel(x=input.x + 1) class ForwardRefModel(BaseModel):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Dec 02 17:23:14 GMT 2025 - 196 bytes - Click Count (0) -
docs_src/settings/app03_an_py310/config.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 235 bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java
* */ public class AdminStorageAction extends FessAdminAction { /** * Default constructor. */ public AdminStorageAction() { super(); } /** Role name for admin storage operations */ public static final String ROLE = "admin-storage"; private static final Logger logger = LogManager.getLogger(AdminStorageAction.class); @OverrideCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 13 02:21:17 GMT 2025 - 22.1K bytes - Click Count (0) -
android/guava/src/com/google/common/math/BigIntegerMath.java
int logFloor = x.bitLength() - 1; switch (mode) { case UNNECESSARY: checkRoundingUnnecessary(isPowerOfTwo(x)); // fall through case DOWN: case FLOOR: return logFloor; case UP: case CEILING: return isPowerOfTwo(x) ? logFloor : logFloor + 1; case HALF_DOWN: case HALF_UP: case HALF_EVEN: if (logFloor < SQRT2_PRECOMPUTE_THRESHOLD) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 18.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java
Thread.State state = t.getState(); switch (state) { case RUNNABLE: case BLOCKED: Thread.yield(); break; case WAITING: return; default: throw new AssertionError("unexpected state: " + state); } } } abstract static class OldAbstractFuture<V> implements ListenableFuture<V> {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 13.8K bytes - Click Count (0) -
src/main/java/jcifs/util/SmbCircuitBreaker.java
* - CLOSED: Normal operation, requests pass through * - OPEN: Service is failing, requests are blocked * - HALF_OPEN: Testing if service has recovered */ public class SmbCircuitBreaker { private static final Logger log = LoggerFactory.getLogger(SmbCircuitBreaker.class); /** * Circuit breaker states */ public enum State { /** * Normal operation - requests pass through */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 33.4K bytes - Click Count (0) -
docs_src/security/tutorial002_py310.py
from fastapi import Depends, FastAPI from fastapi.security import OAuth2PasswordBearer from pydantic import BaseModel app = FastAPI() oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token") class User(BaseModel): username: str email: str | None = None full_name: str | None = None disabled: bool | None = None def fake_decode_token(token): return User(
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 711 bytes - Click Count (0) -
okhttp/src/commonTest/kotlin/okhttp3/OkHttpTest.kt
package okhttp3 import assertk.assertThat import assertk.assertions.matches import org.junit.jupiter.api.Test class OkHttpTest { @Test fun testVersion() { assertThat(OkHttp.VERSION).matches(Regex("[0-9]+\\.[0-9]+\\.[0-9]+(-.+)?")) }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jul 28 07:33:49 GMT 2025 - 247 bytes - Click Count (0)