Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 243 for DEF (0.01 sec)

  1. docs/ru/docs/tutorial/testing.md

    {* ../../docs_src/app_testing/tutorial001.py hl[2,12,15:18] *}
    
    /// tip | Подсказка
    
    Обратите внимание, что тестирующая функция является обычной `def`, а не асинхронной `async def`.
    
    И вызов клиента также осуществляется без `await`.
    
    Это позволяет вам использовать `pytest` без лишних усложнений.
    
    ///
    
    /// note | Технические детали
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  2. Jenkinsfile

     *
     * mavenBuild("<jdk>", "<profiles> <goals> <plugins> <properties>"
     *
     * @param jdk the jdk tool name (in jenkins) to use for this build
     * @param extraArgs extra command line args
     */
    def mavenBuild(jdk, extraArgs) {
      script {
        try {
          withEnv(["JAVA_HOME=${tool "$jdk"}",
                   "PATH+MAVEN=${tool "$jdk"}/bin:${tool "maven_3_latest"}/bin",
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jul 10 12:31:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. docs/es/docs/tutorial/testing.md

    {* ../../docs_src/app_testing/tutorial001.py hl[2,12,15:18] *}
    
    /// tip | Consejo
    
    Nota que las funciones de prueba son `def` normales, no `async def`.
    
    Y las llamadas al cliente también son llamadas normales, sin usar `await`.
    
    Esto te permite usar `pytest` directamente sin complicaciones.
    
    ///
    
    /// note | Nota Técnica
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

            "1-m2",
            "1-m11",
            "1-rc",
            "1-cr2",
            "1-rc123",
            "1-SNAPSHOT",
            "1",
            "1-sp",
            "1-sp2",
            "1-sp123",
            "1-abc",
            "1-def",
            "1-pom-1",
            "1-1-snapshot",
            "1-1",
            "1-2",
            "1-123"
        };
    
        private static final String[] VERSIONS_NUMBER = {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  5. docs/ko/docs/tutorial/first-steps.md

    {* ../../docs_src/first_steps/tutorial001.py hl[7] *}
    
    이것은 파이썬 함수입니다.
    
    URL "`/`"에 대한 `GET` 작동을 사용하는 요청을 받을 때마다 **FastAPI**에 의해 호출됩니다.
    
    위의 예시에서 이 함수는 `async`(비동기) 함수입니다.
    
    ---
    
    `async def`을 이용하는 대신 일반 함수로 정의할 수 있습니다:
    
    {* ../../docs_src/first_steps/tutorial003.py hl[7] *}
    
    /// note | 참고
    
    차이점을 모르겠다면 [Async: *"바쁘신 경우"*](../async.md#_1){.internal-link target=_blank}을 확인하세요.
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. docs/zh-hant/docs/tutorial/first-steps.md

    {* ../../docs_src/first_steps/tutorial001.py h1[7] *}
    
    這就是一個 Python 函式。
    
    它將會在 **FastAPI** 收到一個請求時被呼叫,使用 `GET` 操作。
    
    在這種情況下,它是一個 `async` 函式。
    
    ---
    
    你可以將它定義為一個正常的函式,而不是 `async def`:
    
    {* ../../docs_src/first_steps/tutorial003.py h1[7] *}
    
    /// note
    
    如果你不知道差別,請查看 [Async: *"In a hurry?"*](../async.md#in-a-hurry){.internal-link target=_blank}.
    
    ///
    
    ### 第五步:回傳內容
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 09 12:20:58 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  7. docs/uk/docs/tutorial/testing.md

    {* ../../docs_src/app_testing/tutorial001.py hl[2,12,15:18] *}
    
    
    /// tip | Порада
    
    Зверніть увагу, що тестові функції — це звичайні `def`, а не `async def`.
    
    Виклики клієнта також звичайні, без використання `await`.
    
    Це дозволяє використовувати `pytest` без зайвих ускладнень.
    
    ///
    
    /// note | Технічні деталі
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Feb 28 14:12:19 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  8. docs/id/docs/tutorial/first-steps.md

    Di kondisi ini, ini adalah sebuah fungsi `async`.
    
    ---
    
    Anda bisa mendefinisikan fungsi ini sebagai fungsi normal daripada `async def`:
    
    {* ../../docs_src/first_steps/tutorial003.py hl[7] *}
    
    /// note | Catatan
    
    Jika anda tidak tahu perbedaannya, kunjungi [Async: *"Panduan cepat"*](../async.md#in-a-hurry){.internal-link target=_blank}.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Dec 12 21:46:36 UTC 2024
    - 12K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/first-steps.md

    Neste caso, é uma função `assíncrona`.
    
    ---
    
    Você também pode defini-la como uma função normal em vez de `async def`:
    
    {* ../../docs_src/first_steps/tutorial003.py hl[7] *}
    
    /// note | Nota
    
    Se você não sabe a diferença, verifique o [Async: *"Com pressa?"*](../async.md#com-pressa){.internal-link target=_blank}.
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Jan 09 20:41:07 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/testing.md

    {* ../../docs_src/app_testing/tutorial001.py hl[2,12,15:18] *}
    
    /// tip
    
    Notice that the testing functions are normal `def`, not `async def`.
    
    And the calls to the client are also normal calls, not using `await`.
    
    This allows you to use `pytest` directly without complications.
    
    ///
    
    /// note | Technical Details
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.6K bytes
    - Viewed (0)
Back to top