Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1221 - 1230 of 1,295 for NOTE (0.05 sec)

  1. docs/zh/docs/async.md

    results = await some_library()
    ```
    
    然后,通过 `async def` 声明你的 *路径操作函数*:
    
    ```Python hl_lines="2"
    @app.get('/')
    async def read_results():
        results = await some_library()
        return results
    ```
    
    /// note
    
    你只能在被 `async def` 创建的函数内使用 `await`
    
    ///
    
    ---
    
    如果你正在使用一个第三方库和某些组件(比如:数据库、API、文件系统...)进行通信,第三方库又不支持使用 `await` (目前大多数数据库三方库都是这样),这种情况你可以像平常那样使用 `def` 声明一个路径操作函数,就像这样:
    
    ```Python hl_lines="2"
    @app.get('/')
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  2. docs/ru/docs/deployment/docker.md

        Опция `--no-cache-dir` указывает `pip` не сохранять загружаемые библиотеки на локальной машине для использования их в случае повторной загрузки. В контейнере, в случае пересборки этого шага, они всё равно будут удалены.
    
        /// note | Заметка
    
        Опция `--no-cache-dir` нужна только для `pip`, она никак не влияет на Docker или контейнеры.
    
        ///
    
        Опция `--upgrade` указывает `pip` обновить библиотеки, емли они уже установлены.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  3. docs/de/docs/async.md

    Dann deklarieren Sie Ihre *Pfadoperation-Funktionen* mit `async def` wie in:
    
    ```Python hl_lines="2"
    @app.get('/')
    async def read_results():
        results = await some_library()
        return results
    ```
    
    /// note
    
    Sie können `await` nur innerhalb von Funktionen verwenden, die mit `async def` erstellt wurden.
    
    ///
    
    ---
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/IteratorsTest.java

        protected DoubletonIteratorTester() {
          super(5, MODIFIABLE, newArrayList(1, 2), IteratorTester.KnownOrder.KNOWN_ORDER);
        }
      }
    
      private static Iterator<Integer> iterateOver(int... values) {
        // Note: Ints.asList's iterator does not support remove which we need for testing.
        return new ArrayList<>(Ints.asList(values)).iterator();
      }
    
      public void testElementsEqual() {
        Iterable<?> a;
        Iterable<?> b;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTransportImpl.java

            return n;
        }
    
    
        /**
         * @throws SocketException
         * @throws IOException
         */
        private void negotiatePeek () throws SocketException, IOException {
            /*
             * Note the Transport thread isn't running yet so we can
             * read from the socket here.
             */
            try {
                this.socket.setSoTimeout(this.transportContext.getConfig().getConnTimeout());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  6. docs/de/docs/deployment/docker.md

        /// note | Hinweis
    
        Das `--no-cache-dir` bezieht sich nur auf `pip`, es hat nichts mit Docker oder Containern zu tun.
    
        ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 39K bytes
    - Viewed (0)
  7. internal/bucket/lifecycle/lifecycle_test.go

    			isDelMarker:    true,
    			expectedAction: DelMarkerDeleteAllVersionsAction,
    		},
    		{
    			// NoneAction since object doesn't qualify for DelMarkerExpiration yet.
    			// Note: TransitionAction doesn't apply to DEL marker
    			inputConfig: `<LifecycleConfiguration>
                                <Rule>
                                  <ID>DelMarkerExpiration with Transition</ID>
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  8. fastapi/applications.py

                    """
                ),
            ] = False,
            routes: Annotated[
                Optional[List[BaseRoute]],
                Doc(
                    """
                    **Note**: you probably shouldn't use this parameter, it is inherited
                    from Starlette and supported for compatibility.
    
                    ---
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:52:31 UTC 2024
    - 172.2K bytes
    - Viewed (0)
  9. cmd/batch-handlers.go

    		}
    		path, err := ri.getJobReportPath()
    		if err != nil {
    			batchLogIf(ctx, err)
    			return err
    		}
    		return saveConfig(ctx, api, path, buf)
    	}
    	ri.mu.Unlock()
    	return nil
    }
    
    // Note: to be used only with batch jobs that affect multiple versions through
    // a single action. e.g batch-expire has an option to expire all versions of an
    // object which matches the given filters.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.8.md

        * A sample DaemonSet to deploy Flexvolume drivers is now available.
    
    * [prototype] Volume snapshots
    
      * You can now create a volume snapshot by calling the Kubernetes API.
    
      * Note that the prototype does not support quiescing before snapshot, so snapshots might be inconsistent.
    
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 312.2K bytes
    - Viewed (0)
Back to top