Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 359 for notifications (0.14 sec)

  1. docs_src/background_tasks/tutorial001.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")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 519 bytes
    - Viewed (0)
  2. 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"}
        ```
        """
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/NullCacheTest.java

        Object key = new Object();
        assertSame(computed, cache.getUnchecked(key));
        RemovalNotification<Object, Object> notification = listener.remove();
        assertSame(key, notification.getKey());
        assertSame(computed, notification.getValue());
        assertSame(RemovalCause.SIZE, notification.getCause());
        assertTrue(listener.isEmpty());
        checkEmpty(cache);
      }
    
      public void testGet_expireAfterWrite() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/NullCacheTest.java

        Object key = new Object();
        assertSame(computed, cache.getUnchecked(key));
        RemovalNotification<Object, Object> notification = listener.remove();
        assertSame(key, notification.getKey());
        assertSame(computed, notification.getValue());
        assertSame(RemovalCause.SIZE, notification.getCause());
        assertTrue(listener.isEmpty());
        checkEmpty(cache);
      }
    
      public void testGet_expireAfterWrite() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/FileNotifyInformation.java

     */
    package jcifs;
    
    
    /**
     * File notification information
     * 
     * 
     * @author mbechler
     *
     */
    public interface FileNotifyInformation {
    
        // filter flags
    
        /**
         * Any file name change in the watched directory or subtree causes a change notification wait operation to return.
         * Changes include renaming, creating, or deleting a file.
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.9K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_background_tasks/test_tutorial001.py

        if log.is_file():
            os.remove(log)  # pragma: no cover
        response = client.post("/send-notification/******@****.***")
        assert response.status_code == 200, response.text
        assert response.json() == {"message": "Notification sent in the background"}
        with open("./log.txt") as f:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Jul 09 18:06:12 UTC 2020
    - 578 bytes
    - Viewed (0)
  7. src/main/webapp/WEB-INF/view/admin/general/admin_general.jsp

                                        <label for="notificationTo" class="col-sm-3 text-sm-right col-form-label"><la:message
                                                key="labels.notification_to"/></label>
                                        <div class="col-sm-9">
                                            <la:errors property="notificationTo"/>
                                            <div class="input-group">
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jan 16 12:54:35 UTC 2023
    - 39.4K bytes
    - Viewed (0)
  8. src/main/resources/mail/crawler.dfmail

    /*
     [Crawler Notification]
     Crawler notification mail.
    */
    subject: [FESS] Crawler completed: /*pmb.hostname*/
    >>>
    --- Server Info ---
    Host Name: /*pmb.hostname:orElse('Unknown')*/
    Job Name: /*pmb.jobname:orElse('Unknown')*/
    
    --- Web/FileSystem Crawler ---
    Start Time: /*pmb.webFsCrawlStartTime:orElse('-')*/
    End Time:   /*pmb.webFsCrawlEndTime:orElse('-')*/
    Exec Time:  /*pmb.webFsCrawlExecTime:orElse('-')*/ ms
    
    --- Web/FileSystem Indexer ---
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jan 15 22:05:20 UTC 2020
    - 1K bytes
    - Viewed (0)
  9. 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.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.11.md

    * Fix memory cgroup notifications, and reduce associated log spam. ([#63220](https://github.com/kubernetes/kubernetes/pull/63220), [@dashpole](https://github.com/dashpole))
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu Feb 06 06:04:15 UTC 2020
    - 328.4K bytes
    - Viewed (0)
Back to top