- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 2,888 for overridden (0.09 seconds)
-
tests/test_tutorial/test_configure_swagger_ui/test_tutorial003.py
response = client.get("/docs") assert response.status_code == 200, response.text assert '"deepLinking": false,' in response.text, ( "overridden configs should be preserved" ) assert '"deepLinking": true' not in response.text, ( "overridden configs should not include the old value" ) assert '"syntaxHighlight": false' not in response.text, ( "not used parameters should not be included"
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 1.5K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/SpecificHostSocketFactory.kt
/** Sets the [real] address for [requested]. */ operator fun set( requested: InetAddress, real: InetSocketAddress, ) { hostMapping[requested] = real } override fun createSocket(): Socket = object : Socket() { override fun connect( endpoint: SocketAddress?, timeout: Int, ) { val requested = (endpoint as InetSocketAddress)
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.7K bytes - Click Count (0) -
tests/test_router_events.py
yield { "app_specific": True, "overridden": "app", } @asynccontextmanager async def router_lifespan( app: FastAPI, ) -> AsyncGenerator[dict[str, Union[str, bool]], None]: yield { "router_specific": True, "overridden": "router", # should override parent } router = APIRouter(lifespan=router_lifespan)Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 7.3K bytes - Click Count (0) -
guava/src/com/google/common/cache/CacheLoader.java
* only the entries for {@code keys} will be returned from {@code getAll}. * * <p>This method should be overridden when bulk retrieval is significantly more efficient than * many individual lookups. Note that {@link LoadingCache#getAll} will defer to individual calls * to {@link LoadingCache#get} if this method is not overridden. * * @param keys the unique, non-null keys whose values should be loadedCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 9.5K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/FileToRawModelMergerTest.java
import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertTrue; @Deprecated class FileToRawModelMergerTest { /** * Ensures that all list-merge methods are overridden */ @Test void testOverriddenMergeMethods() { List<String> methodNames = Stream.of(MavenMerger.class.getDeclaredMethods()) .filter(m -> m.getName().startsWith("merge"))Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 2.8K bytes - Click Count (0) -
fastapi/datastructures.py
class DefaultPlaceholder: """ You shouldn't use this class directly. It's used internally to recognize when a default value has been overwritten, even if the overridden default value was truthy. """ def __init__(self, value: Any): self.value = value def __bool__(self) -> bool: return bool(self.value)Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 5.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt
@JvmStatic @JvmName("create") fun ByteString.toRequestBody(contentType: MediaType? = null): RequestBody = object : RequestBody() { override fun contentType() = contentType override fun contentLength() = size.toLong() override fun writeTo(sink: BufferedSink) { sink.write(this@toRequestBody) } } /** Returns a new request body that transmits this. */Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Oct 07 14:16:29 GMT 2025 - 9.3K bytes - Click Count (0) -
.teamcity/src/main/kotlin/util/UpdateWrapper.kt
vcs.useAbsoluteVcs(vcsBranch.vcsRootId()) requirements { requiresOs(Os.LINUX) } params { text( "wrapperVersion", "should-be-overridden", display = ParameterDisplay.PROMPT, allowEmpty = false, description = "The version of Gradle to update to. " +Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Jul 24 03:08:48 GMT 2025 - 2.7K bytes - Click Count (0) -
tests/test_schema_extra_examples.py
assert response.status_code == 200, response.text def test_openapi_schema(): """ Test that example overrides work: * pydantic model schema_extra is included * Body(example={}) overrides schema_extra in pydantic model * Body(examples{}) overrides Body(example={}) and schema_extra in pydantic model """ app = create_app() client = TestClient(app)
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 32.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java
} } }); } /** * Perform the actual reconnection logic. * This method should be overridden by subclasses to provide the actual * SMB reconnection implementation. * * @param info the handle information * @return true if reconnection was successfulCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 8.5K bytes - Click Count (1)