Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 841 - 850 of 1,180 for Lain (0.05 seconds)

  1. docs/uk/docs/advanced/websockets.md

    {* ../../docs_src/websockets_/tutorial001_py310.py hl[48:52] *}
    
    Ви можете отримувати та надсилати бінарні, текстові та JSON-дані.
    
    ## Спробуйте { #try-it }
    
    Розмістіть код у файлі `main.py`, а потім запустіть ваш застосунок:
    
    <div class="termy">
    
    ```console
    $ fastapi dev
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 7.9K bytes
    - Click Count (0)
  2. docs/es/docs/advanced/behind-a-proxy.md

    ### Proporcionando el `root_path` { #providing-the-root-path }
    
    Para lograr esto, puedes usar la opción de línea de comandos `--root-path` como:
    
    <div class="termy">
    
    ```console
    $ fastapi run main.py --forwarded-allow-ips="*" --root-path /api/v1
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 16.5K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/TestingConventionsTasks.java

            SourceSetContainer javaSourceSets = GradleUtils.getJavaSourceSets(getProject());
            if (javaSourceSets.findByName(SourceSet.MAIN_SOURCE_SET_NAME) == null) {
                // some test projects don't have a main source set
                return Collections.emptySet();
            }
            return javaSourceSets.getByName(SourceSet.MAIN_SOURCE_SET_NAME)
                .getOutput()
                .getClassesDirs()
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 17.6K bytes
    - Click Count (0)
  4. docs/zh-hant/docs/virtual-environments.md

    如果你不去停用 `philosophers-stone` 的虛擬環境,當你在終端中執行 `python` 時,它會嘗試使用 `philosophers-stone` 中的 Python。
    
    <div class="termy">
    
    ```console
    $ cd ~/code/prisoner-of-azkaban
    
    $ python main.py
    
    // 匯入 sirius 錯誤,未安裝 😱
    Traceback (most recent call last):
        File "main.py", line 1, in <module>
            import sirius
    ```
    
    </div>
    
    但如果你停用虛擬環境並啟用 `prisoner-of-azkaban` 的新虛擬環境,那麼當你執行 `python` 時,它會使用 `prisoner-of-azkaban` 中虛擬環境的 Python。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 21K bytes
    - Click Count (0)
  5. docs/zh/docs/virtual-environments.md

    如果你不去停用 `philosophers-stone` 的虚拟环境,当你在终端中运行 `python` 时,它会尝试使用 `philosophers-stone` 中的 Python。
    
    <div class="termy">
    
    ```console
    $ cd ~/code/prisoner-of-azkaban
    
    $ python main.py
    
    // 导入 sirius 报错,它没有安装 😱
    Traceback (most recent call last):
        File "main.py", line 1, in <module>
            import sirius
    ```
    
    </div>
    
    但是如果你停用虚拟环境并激活 `prisoner-of-askaban` 的新虚拟环境,那么当你运行 `python` 时,它会使用 `prisoner-of-askaban` 中的虚拟环境中的 Python。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 21.4K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

        /*
         * The main test thread tries to stop() the service shortly after
         * confirming that it is running. Meanwhile, the service itself is trying
         * to confirm that it is running. If the main thread's stop() call happens
         * before it has the chance, the test will fail. To avoid this, the main
         * thread calls this method, which waits until the service has performed
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

        /*
         * The main test thread tries to stop() the service shortly after
         * confirming that it is running. Meanwhile, the service itself is trying
         * to confirm that it is running. If the main thread's stop() call happens
         * before it has the chance, the test will fail. To avoid this, the main
         * thread calls this method, which waits until the service has performed
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  8. docs/en/docs/advanced/behind-a-proxy.md

    ### Providing the `root_path` { #providing-the-root-path }
    
    To achieve this, you can use the command line option `--root-path` like:
    
    <div class="termy">
    
    ```console
    $ fastapi run main.py --forwarded-allow-ips="*" --root-path /api/v1
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  9. docs/zh/docs/advanced/behind-a-proxy.md

    ### 提供 `root_path` { #providing-the-root-path }
    
    为此,你可以像下面这样使用命令行选项 `--root-path`:
    
    <div class="termy">
    
    ```console
    $ fastapi run main.py --forwarded-allow-ips="*" --root-path /api/v1
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    如果你使用 Hypercorn,它也有 `--root-path` 选项。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 15.1K bytes
    - Click Count (0)
  10. docs/tr/docs/index.md

    </div>
    
    **Not**: Tüm terminallerde çalıştığından emin olmak için `"fastapi[standard]"` ifadesini tırnak içinde yazdığınızdan emin olun.
    
    ## Örnek { #example }
    
    ### Oluşturalım { #create-it }
    
    Şu içerikle `main.py` adında bir dosya oluşturalım:
    
    ```Python
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 23.2K bytes
    - Click Count (0)
Back to Top