- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 1,175 for Send (0.02 sec)
-
docs_src/background_tasks/tutorial002_py39.py
def get_query(background_tasks: BackgroundTasks, q: Union[str, None] = None): if q: message = f"found query: {q}\n" background_tasks.add_task(write_log, message) return q @app.post("/send-notification/{email}") async def send_notification( email: str, background_tasks: BackgroundTasks, q: str = Depends(get_query) ): message = f"message to {email}\n" background_tasks.add_task(write_log, message)
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 675 bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
* the smb URL syntax. If the second argument is <code>true</code>, then * bytes will be written to the end of the file rather than the beginning. * * @param file * An <code>SmbFile</code> representing the file to write to * @param append * Append to the end of file * @throws SmbException if an SMB error occurs */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt
var finished: Boolean = false, ) : Sink { /** * Buffer of outgoing data. This batches writes of small writes into this sink as larges frames * written to the outgoing connection. Batching saves the (small) framing overhead. */ private val sendBuffer = Buffer() /** Trailers to send at the end of the stream. */Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jul 07 18:57:05 UTC 2025 - 22.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeImplTest.java
when(response.getService()).thenReturn("A:"); when(response.isValidTid()).thenReturn(true); when(response.getTid()).thenReturn(1); when(session.send(any(), any())).thenReturn(response); when(config.isIpcSigningEnforced()).thenReturn(false); SmbTreeImpl tree = new SmbTreeImpl(session, "SHARE", "A:"); tree.treeConnect(null, null);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcHandle.java
} catch (final IOException ioe) { this.state = 0; throw ioe; } } } /** * Send and receive a DCE/RPC message * * @param msg * the message to send * @throws DcerpcException * if there is a DCE/RPC protocol error * @throws IOException
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.9K bytes - Viewed (0) -
tests/test_tutorial/test_background_tasks/test_tutorial002.py
client = TestClient(mod.app) return client def test(client: TestClient): log = Path("log.txt") if log.is_file(): os.remove(log) # pragma: no cover response = client.post("/send-notification/******@****.***?q=some-query") assert response.status_code == 200, response.text assert response.json() == {"message": "Message sent"} with open("./log.txt") as f:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 996 bytes - Viewed (0) -
ISSUES.md
If you open a GitHub Issue, here is our policy: 1. It must be a bug/performance issue or a feature request or a build issue or a documentation issue (for small doc fixes please send a PR instead). 1. Make sure the Issue Template is filled out. 1. The issue should be related to the repo it is created in. **Here's why we have this policy:** We want to focus on the work that benefits the whole community, e.g., fixing bugs and adding features. Individual supportRegistered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Thu Feb 11 22:37:27 UTC 2021 - 606 bytes - Viewed (0) -
docs/en/docs/advanced/openapi-callbacks.md
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 10 08:55:32 UTC 2025 - 8K bytes - Viewed (0) -
internal/event/target/amqp.go
if err := ch.Confirm(false); err != nil { ch.Close() return nil, nil, err } return ch, confirms, nil } return ch, nil, nil } // send - sends an event to the AMQP091. func (target *AMQPTarget) send(eventData event.Event, ch *amqp091.Channel, confirms chan amqp091.Confirmation) error { objectName, err := url.QueryUnescape(eventData.S3.Object.Key) if err != nil { return err }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Aug 21 04:25:07 UTC 2025 - 10K bytes - Viewed (0) -
internal/grid/README.md
Returning any error will also cancel the stream remotely. CAREFUL: When utilizing two-way communication, it is important to ensure that the remote handler is not blocked on a send. If the remote handler is blocked on a send, and the client is trying to send without the remote receiving, the operation would become deadlocked if the channels are full. ### Typed handlers
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Oct 10 18:57:03 UTC 2025 - 9.4K bytes - Viewed (0)