- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 150 for Notification (0.07 seconds)
-
docs_src/background_tasks/tutorial001_py310.py
with open("log.txt", mode="w") as email_file: content = f"notification for {email}: {message}" email_file.write(content) @app.post("/send-notification/{email}") async def send_notification(email: str, background_tasks: BackgroundTasks): background_tasks.add_task(write_notification, email, message="some notification")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 519 bytes - Click Count (0) -
tests/test_tutorial/test_background_tasks/test_tutorial001.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 27 10:53:47 GMT 2026 - 635 bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/TestingRemovalListeners.java
static class QueuingRemovalListener<K, V> extends ConcurrentLinkedQueue<RemovalNotification<K, V>> implements RemovalListener<K, V> { @Override public void onRemoval(RemovalNotification<K, V> notification) { add(notification); } } /** * {@link RemovalListener} that counts each {@link RemovalNotification} it receives, and provides * access to the most-recently received one. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 13:13:59 GMT 2026 - 3.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/LogNotificationHelper.java
import org.codelibs.fess.util.ComponentUtil; import jakarta.annotation.PostConstruct; import jakarta.annotation.PreDestroy; /** * Helper that manages the lifecycle of the log notification timer and * buffers log notification events for periodic flushing to OpenSearch. */ public class LogNotificationHelper { /** * Default constructor. */ public LogNotificationHelper() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 5.3K bytes - Click Count (0) -
tests/test_sub_callbacks.py
* Collect the money from the client. * Send a notification back to the API user (the external developer), as a callback. * At this point is that the API will somehow send a POST request to the external API with the notification of the invoice event (e.g. "payment successful"). """ # Send the invoice, collect the money, send the notification (the callback) return {"msg": "Invoice received"}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 14.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/NullCacheTest.java
Object key = new Object(); assertThat(cache.getUnchecked(key)).isSameInstanceAs(computed); RemovalNotification<Object, Object> notification = listener.remove(); assertThat(notification.getKey()).isSameInstanceAs(key); assertThat(notification.getValue()).isSameInstanceAs(computed); assertThat(notification.getCause()).isEqualTo(RemovalCause.SIZE); assertThat(listener.isEmpty()).isTrue(); checkEmpty(cache); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 11 20:07:52 GMT 2025 - 4.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/job/LogNotificationJob.java
logger.debug("Failed to delete remaining log notifications.", e); } return "Sent log notifications: " + events.size() + " events."; } /** * Formats a list of log notification events into a human-readable summary string. * * @param events the list of log notification events * @param maxDetailsLength the maximum length of the details string
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 9.4K bytes - Click Count (0) -
fastapi/background.py
content = f"notification for {email}: {message}" email_file.write(content) @app.post("/send-notification/{email}") async def send_notification(email: str, background_tasks: BackgroundTasks): background_tasks.add_task(write_notification, email, message="some notification") return {"message": "Notification sent in the background"} ``` """Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 11 18:41:21 GMT 2026 - 1.8K bytes - Click Count (0) -
docs_src/openapi_callbacks/tutorial001_py310.py
* Collect the money from the client. * Send a notification back to the API user (the external developer), as a callback. * At this point is that the API will somehow send a POST request to the external API with the notification of the invoice event (e.g. "payment successful"). """ # Send the invoice, collect the money, send the notification (the callback)Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 10 08:55:32 GMT 2025 - 1.3K bytes - Click Count (0) -
.github/workflows/notify-on-rc-for-manual-test.yml
run-name: Notify the IDE Experience team about new RCs for manual testing on: push: tags: - 'v*.*.*-RC1' permissions: {} jobs: send-slack-notification: runs-on: ubuntu-latest steps: - name: Send Slack notification about new RCs for manual testing id: slack uses: slackapi/slack-github-action@v3.0.1 with:Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Mar 13 22:04:33 GMT 2026 - 912 bytes - Click Count (0)