Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1171 - 1180 of 1,513 for notes (0.04 sec)

  1. docs/de/docs/tutorial/testing.md

    Und die Anrufe an den Client sind ebenfalls normale Anrufe, die nicht `await` verwenden.
    
    Dadurch können Sie `pytest` ohne Komplikationen direkt nutzen.
    
    ///
    
    /// note | "Technische Details"
    
    Sie könnten auch `from starlette.testclient import TestClient` verwenden.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/websockets.md

    {!../../docs_src/websockets/tutorial001.py!}
    ```
    
    ## Create a `websocket`
    
    In your **FastAPI** application, create a `websocket`:
    
    ```Python hl_lines="1  46-47"
    {!../../docs_src/websockets/tutorial001.py!}
    ```
    
    /// note | "Technical Details"
    
    You could also use `from starlette.websockets import WebSocket`.
    
    **FastAPI** provides the same `WebSocket` directly just as a convenience for you, the developer. But it comes directly from Starlette.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. docs/zh-hant/docs/tutorial/index.md

    確保你建立一個[虛擬環境](../virtual-environments.md){.internal-link target=_blank},啟用它,然後**安裝 FastAPI**:
    
    <div class="termy">
    
    ```console
    $ pip install "fastapi[standard]"
    
    ---> 100%
    ```
    
    </div>
    
    /// note
    
    當你使用 `pip install "fastapi[standard]"` 安裝時,會包含一些預設的可選標準相依項。
    
    如果你不想包含那些可選的相依項,你可以使用 `pip install fastapi` 來安裝。
    
    ///
    
    ## 進階使用者指南
    
    還有一個**進階使用者指南**你可以稍後閱讀。
    
    **進階使用者指南**建立在這個教學之上,使用相同的概念,並教你一些額外的功能。
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 24 18:28:00 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. docs/ru/docs/tutorial/testing.md

    Обратите внимание, что тестирующая функция является обычной `def`, а не асинхронной `async def`.
    
    И вызов клиента также осуществляется без `await`.
    
    Это позволяет вам использовать `pytest` без лишних усложнений.
    
    ///
    
    /// note | "Технические детали"
    
    Также можно написать `from starlette.testclient import TestClient`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/AbstractStreamingHasher.java

          process(readBuffer);
        }
    
        // Finally stick the remainder back in our usual buffer
        buffer.put(readBuffer);
        return this;
      }
    
      /*
       * Note: hashString(CharSequence, Charset) is intentionally not overridden.
       *
       * While intuitively, using CharsetEncoder to encode the CharSequence directly to the buffer (or
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  6. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

              lengthBits
            }
            else -> {
              // Length is 127 or fewer bytes.
              (length0 and 0b0111_1111).toLong()
            }
          }
    
        // Note that this may be be an encoded "end of data" header.
        return DerHeader(tagClass, tag, constructed, length)
      }
    
      /**
       * Consume a header and execute [block], which should consume the entire value described by the
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  7. docs/ja/docs/help-fastapi.md

    そして、issueを解決し他の人を助けることができます。
    
    ## issuesを立てる
    
    GitHubレポジトリで<a href="https://github.com/fastapi/fastapi/issues/new/choose" class="external-link" target="_blank">新たなissueを立てられます</a>。例えば:
    
    * 質問、または、問題の報告
    * 新機能の提案
    
    **Note**: issueを立てた人は、他の人の手助けもお願いします。😉
    
    ## プルリクエストをする
    
    以下の様な<a href="https://github.com/fastapi/fastapi" class="external-link" target="_blank">プルリクエストを作成</a>できます:
    
    * ドキュメントのタイプミスを修正。
    * 新たなドキュメントセクションを提案。
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. docs/ja/docs/tutorial/response-model.md

    * `@app.get()`
    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    * など。
    
    ```Python hl_lines="17"
    {!../../docs_src/response_model/tutorial001.py!}
    ```
    
    /// note | "備考"
    
    `response_model`は「デコレータ」メソッド(`get`、`post`など)のパラメータであることに注意してください。すべてのパラメータやボディのように、*path operation関数* のパラメータではありません。
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

     * NullPointerTester}, {@link EqualsTester} and {@link SerializableTester}. For example:
     *
     * <pre>
     * public class PackageSanityTests extends AbstractPackageSanityTests {}
     * </pre>
     *
     * <p>Note that only top-level classes with either a non-private constructor or a non-private static
     * factory method to construct instances can have their instance methods checked. For example:
     *
     * <pre>
     * public class Address {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  10. docs/pt/docs/async.md

    ```
    
    Então, declare sua *função de operação de rota* com `async def` como:
    
    ```Python hl_lines="2"
    @app.get('/')
    async def read_results():
        results = await some_library()
        return results
    ```
    
    /// note
    
    Você só pode usar `await` dentro de funções criadas com `async def`.
    
    ///
    
    ---
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 22.2K bytes
    - Viewed (0)
Back to top