- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 25 for broke (0.04 seconds)
-
tests/test_dependency_after_yield_raise.py
def broken_dep() -> Any: yield "s" raise ValueError("Broken after yield") app = FastAPI() @app.get("/catching") def catching(d: Annotated[str, Depends(catching_dep)]) -> Any: raise CustomError("Simulated error during streaming") @app.get("/broken") def broken(d: Annotated[str, Depends(broken_dep)]) -> Any: return {"message": "all good?"}
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 1.7K bytes - Click Count (0) -
tests/test_dependency_after_yield_streaming.py
def iter_data(): yield from session return StreamingResponse(iter_data()) @app.get("/broken-session-data") def get_broken_session_data(session: BrokenSessionDep) -> Any: return list(session) @app.get("/broken-session-stream") def get_broken_session_stream(session: BrokenSessionDep) -> Any: def iter_data(): yield from session
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 3.2K bytes - Click Count (0) -
internal/event/target/mqtt.go
EnvMQTTQueueLimit = "MINIO_NOTIFY_MQTT_QUEUE_LIMIT" ) // MQTTArgs - MQTT target arguments. type MQTTArgs struct { Enable bool `json:"enable"` Broker xnet.URL `json:"broker"` Topic string `json:"topic"` QoS byte `json:"qos"` User string `json:"username"`
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Sep 06 23:06:30 GMT 2024 - 8.2K bytes - Click Count (0) -
src/main/java/jcifs/SmbTransportPool.java
* * @param dc the domain controller address * @param tc the CIFS context containing credentials * @throws CIFSException if an error occurs during authentication * @deprecated functionality is broken and will be removed at some point, * use actual Active Directory authentication instead */ @Deprecated void logon(CIFSContext tc, Address dc) throws CIFSException; /**Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.5K bytes - Click Count (0) -
tests/test_dependency_after_yield_websockets.py
@app.websocket("/ws") async def websocket_endpoint(websocket: WebSocket, session: SessionDep): await websocket.accept() for item in session: await websocket.send_text(f"{item}") @app.websocket("/ws-broken") async def websocket_endpoint_broken(websocket: WebSocket, session: BrokenSessionDep): await websocket.accept() for item in session: await websocket.send_text(f"{item}") # pragma no cover
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 2K bytes - Click Count (0) -
ci/README.md
and deploy TensorFlow. This folder is typically used by continuous integration (CI) tools to build and test TensorFlow whenever there is a change to the code. This folder is broken into subfolders that represent the level of support
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Tue Jun 06 21:00:01 GMT 2023 - 825 bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/PluginConnectionSimpleTest.java
} @Test void testPluginConnectionBeforeAndAfterFix() { // This test demonstrates the difference between the old broken behavior and the new fixed behavior Model model = new Model(); model.setGroupId("test.group"); model.setArtifactId("test-artifact"); model.setVersion("1.0.0");Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jul 04 12:50:13 GMT 2025 - 5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java
// Log after all static init is finished; if an installed logger uses any Futures methods, it // shouldn't break in cases where reflection is missing/broken. if (thrownReflectionFailure != null) { log.get().log(Level.SEVERE, "SafeAtomicHelper is broken!", thrownReflectionFailure); } } AggregateFutureState(int remainingFutures) { this.remainingField = remainingFutures; }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 8.5K bytes - Click Count (0) -
src/main/java/jcifs/https/Handler.java
* capabilities to the default HTTPS handler. This acts as a wrapper, * handling authentication and passing control to the underlying * stream handler. * * @deprecated {@link NtlmHttpURLConnection} is broken by design. */ @Deprecated public class Handler extends jcifs.http.Handler { /** * The default HTTPS port (<code>443</code>). */ public static final int DEFAULT_HTTPS_PORT = 443;Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dns.kt
override fun lookup(hostname: String): List<InetAddress> { try { return InetAddress.getAllByName(hostname).toList() } catch (e: NullPointerException) { throw UnknownHostException("Broken system behaviour for dns lookup of $hostname").apply { initCause(e) } } } } }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 2.2K bytes - Click Count (0)