Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2031 - 2040 of 2,058 for py$ (0.1 sec)

  1. docs/pt/docs/tutorial/cors.md

    * Métodos HTTP específicos (`POST`, `PUT`) ou todos eles com o curinga `"*"`.
    * Cabeçalhos HTTP específicos ou todos eles com o curinga `"*"`.
    
    {* ../../docs_src/cors/tutorial001_py39.py hl[2,6:11,13:19] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  2. docs/es/docs/tutorial/cors.md

    * Métodos HTTP específicos (`POST`, `PUT`) o todos ellos con el comodín `"*"`.
    * Headers HTTP específicos o todos ellos con el comodín `"*"`.
    
    {* ../../docs_src/cors/tutorial001_py39.py hl[2,6:11,13:19] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  3. docs/ja/docs/deployment/docker.md

    </div>
    
    /// info
    
    パッケージの依存関係を定義しインストールするためのフォーマットやツールは他にもあります。
    
    Poetryを使った例は、後述するセクションでご紹介します。👇
    
    ///
    
    ### **FastAPI**コードを作成する
    
    * `app` ディレクトリを作成し、その中に入ります
    * 空のファイル `__init__.py` を作成します
    * `main.py` ファイルを作成します:
    
    ```Python
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 44.3K bytes
    - Viewed (0)
  4. docs/zh-hant/docs/virtual-environments.md

    <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。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Dec 09 22:39:33 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  5. docs/zh/docs/virtual-environments.md

    <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。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Nov 08 19:23:26 UTC 2024
    - 21K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/cors.md

    * Bestimmte HTTP-Methoden (`POST`, `PUT`) oder alle mit der Wildcard `"*"`.
    * Bestimmte HTTP-Header oder alle mit der Wildcard `"*"`.
    
    {* ../../docs_src/cors/tutorial001_py39.py hl[2,6:11,13:19] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  7. docs/ja/docs/tutorial/index.md

    また、将来的にリファレンスとして機能するように構築されています。
    
    従って、後でこのチュートリアルに戻ってきて必要なものを確認できます。
    
    ## コードを実行する
    
    すべてのコードブロックをコピーして直接使用できます(実際にテストされたPythonファイルです)。
    
    いずれかの例を実行するには、コードを `main.py`ファイルにコピーし、` uvicorn`を次のように起動します:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/cors.md

    * Specific HTTP methods (`POST`, `PUT`) or all of them with the wildcard `"*"`.
    * Specific HTTP headers or all of them with the wildcard `"*"`.
    
    {* ../../docs_src/cors/tutorial001_py39.py hl[2,6:11,13:19] *}
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  9. docs/zh/docs/tutorial/cors.md

    * 将其作为「中间件」添加到你的 **FastAPI** 应用中。
    
    你也可以指定后端是否允许:
    
    * 凭证(授权 headers,Cookies 等)。
    * 特定的 HTTP 方法(`POST`,`PUT`)或者使用通配符 `"*"` 允许所有方法。
    * 特定的 HTTP headers 或者使用通配符 `"*"` 允许所有 headers。
    
    {* ../../docs_src/cors/tutorial001.py hl[2,6:11,13:19] *}
    
    默认情况下,这个 `CORSMiddleware` 实现所使用的默认参数较为保守,所以你需要显式地启用特定的源、方法或者 headers,以便浏览器能够在跨域上下文中使用它们。
    
    支持以下参数:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. docs/en/mkdocs.yml

      - link: /ru/
        name: ru - русский язык
    extra_css:
    - css/termynal.css
    - css/custom.css
    extra_javascript:
    - js/termynal.js
    - js/custom.js
    hooks:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 10:44:55 UTC 2025
    - 9.2K bytes
    - Viewed (0)
Back to top