Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 232 for asyncio (0.04 sec)

  1. docs/ko/docs/tutorial/first-steps.md

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

    這就是一個 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)
  3. src/main/java/jcifs/internal/witness/WitnessRpcClient.java

                    }
                } else {
                    log.warn("Async notify failed: {}", message.getErrorMessage());
                }
    
                return null;
    
            } catch (Exception e) {
                throw new IOException("Witness async notify RPC failed", e);
            }
        }
    
        /**
         * Generates a registration ID from context handle and share name.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  4. docs/uk/docs/tutorial/background-tasks.md

    Створіть функцію, яка буде виконувати фонову задачу.
    
    Це звичайна функція, яка може отримувати параметри.
    
    Вона може бути асинхронною `async def` або звичайною `def` функцією – **FastAPI** обробить її правильно.
    
    У нашому випадку функція записує у файл (імітуючи надсилання email).
    
    І оскільки операція запису не використовує `async` та `await`, ми визначаємо функцію як звичайну `def`:
    
    {* ../../docs_src/background_tasks/tutorial001.py hl[6:9] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri May 30 13:34:53 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/request_files.md

    * Você pode obter metadados do arquivo enviado.
    * Ela possui uma interface <a href="https://docs.python.org/3/glossary.html#term-file-like-object" class="external-link" target="_blank">semelhante a arquivos</a> `async`.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. docs/tr/docs/index.md

    <details markdown="1">
    <summary>Ya da <code>async def</code>...</summary>
    
    Eğer kodunuzda `async` / `await` varsa, `async def` kullanalım:
    
    ```Python hl_lines="9  14"
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    async def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  7. docs/ru/docs/index.md

    <details markdown="1">
    <summary>Или используйте <code>async def</code>...</summary>
    
    Если ваш код использует `async` / `await`, используйте `async def`:
    
    ```Python hl_lines="9  14"
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    async def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  8. docs/pl/docs/index.md

    <details markdown="1">
    <summary>Albo użyj <code>async def</code>...</summary>
    
    Jeżeli twój kod korzysta z `async` / `await`, użyj `async def`:
    
    ```Python hl_lines="9  14"
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    async def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  9. docs/en/docs/js/custom.js

            currentIndex -= 1;
            temporaryValue = array[currentIndex];
            array[currentIndex] = array[randomIndex];
            array[randomIndex] = temporaryValue;
        }
        return array;
    }
    
    async function showRandomAnnouncement(groupId, timeInterval) {
        const announceFastAPI = document.getElementById(groupId);
        if (announceFastAPI) {
            let children = [].slice.call(announceFastAPI.children);
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Jan 02 20:44:50 UTC 2025
    - 5.4K bytes
    - Viewed (2)
  10. docs/ko/docs/tutorial/testing.md

    **FastAPI** 는 개발자의 편의를 위해 `starlette.testclient` 를 `fastapi.testclient` 로도 제공할 뿐입니다. 이는 단지 `Starlette` 에서 직접 가져오는지의 차이일 뿐입니다.
    
    ///
    
    /// tip | 팁
    
    FastAPI 애플리케이션에 요청을 보내는 것 외에도 테스트에서 `async` 함수를 호출하고 싶다면 (예: 비동기 데이터베이스 함수), 심화 튜토리얼의 [Async Tests](../advanced/async-tests.md){.internal-link target=_blank} 를 참조하세요.
    
    ///
    
    ## 테스트 분리하기
    
    실제 애플리케이션에서는 테스트를 별도의 파일로 나누는 경우가 많습니다.
    
    
    그리고 **FastAPI** 애플리케이션도 여러 파일이나 모듈 등으로 구성될 수 있습니다.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Dec 10 11:24:48 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top