- Sort Score
- Num 10 results
- Language All
Results 2351 - 2360 of 3,625 for Gist (0.04 seconds)
-
docs_src/response_model/tutorial004_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 = 10.5 tags: list[str] = [] items = { "foo": {"name": "Foo", "price": 50.2}, "bar": {"name": "Bar", "description": "The bartenders", "price": 62, "tax": 20.2},
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 595 bytes - Click Count (0) -
src/all.bash
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Jun 10 13:00:41 GMT 2025 - 378 bytes - Click Count (0) -
src/all.bat
L5:@echo off L6: L7:setlocal L8: L9:if not exist make.bat ( L10: echo all.bat must be run from go\src L11: exit /b 1 L12:) L13: L14:call .\make.bat --no-banner || exit /b 1 L15:call .\run.bat --no-rebuild || exit /b 1 L16:..\bin\go tool dist banner ...
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Feb 11 17:45:10 GMT 2025 - 388 bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/CrudMode.java
*/ package org.codelibs.fess.app.web; /** * Constants for CRUD operation modes. */ public class CrudMode { /** * Mode for listing records. */ public static final int LIST = 0; /** * Mode for creating a new record. */ public static final int CREATE = 1; /** * Mode for editing an existing record. */ public static final int EDIT = 2;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.3K bytes - Click Count (0) -
tests/test_additional_responses_custom_validationerror.py
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, responses={422: {"description": "Error", "model": JsonApiError}}, ) async def a(id): pass # pragma: no cover
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 3.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/user/cbean/bs/BsUserCB.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.opensearch.user.cbean.bs; import java.util.ArrayList; import java.util.List; import java.util.Map; import org.codelibs.fess.opensearch.user.allcommon.EsAbstractConditionBean; import org.codelibs.fess.opensearch.user.bsentity.dbmeta.UserDbm; import org.codelibs.fess.opensearch.user.cbean.UserCB;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 9.8K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt
var proxyAuthenticator: Authenticator = RecordingOkAuthenticator("password", null) var connectionSpecs: List<ConnectionSpec> = listOf( ConnectionSpec.MODERN_TLS, ConnectionSpec.COMPATIBLE_TLS, ConnectionSpec.CLEARTEXT, ) var protocols: List<Protocol> = listOf( Protocol.HTTP_1_1, ) var handshakeCertificates: HandshakeCertificates = localhost()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Jan 11 12:06:21 GMT 2026 - 6.6K bytes - Click Count (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/AndroidPlatform.kt
socketAdapters .find { it.matchesSocketFactory(sslSocketFactory) } ?.trustManager(sslSocketFactory) override fun configureTlsExtensions( sslSocket: SSLSocket, hostname: String?, protocols: List<@JvmSuppressWildcards Protocol>, ) { // No TLS extensions if the socket class is custom. socketAdapters .find { it.matchesSocket(sslSocket) } ?.configureTlsExtensions(sslSocket, hostname, protocols)Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Oct 10 05:19:46 GMT 2025 - 6.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RoutePlanner.kt
* a race in fast follow-up. * * 4. If there's no existing connection, make a list of routes (which may require blocking DNS * lookups) and attempt new connections to them. When failures occur, retries iterate the * list of available routes. * * If the pool gains an eligible connection while DNS, TCP, or TLS work is in flight, this finder
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue May 27 14:58:02 GMT 2025 - 4.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/SourceSinkTester.java
import java.io.IOException; import java.io.Reader; import java.io.StringReader; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.util.ArrayList; import java.util.List; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * @param <S> the source or sink type * @param <T> the data type (byte[] or String) * @param <F> the factory type
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 4.9K bytes - Click Count (0)