Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for stop (0.14 sec)

  1. docs/en/docs/deployment/https.md

    # About HTTPS
    
    It is easy to assume that HTTPS is something that is just "enabled" or not.
    
    But it is way more complex than that.
    
    !!! tip
        If you are in a hurry or don't care, continue with the next sections for step by step instructions to set everything up with different techniques.
    
    To **learn the basics of HTTPS**, from a consumer perspective, check <a href="https://howhttps.works/" class="external-link" target="_blank">https://howhttps.works/</a>.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 12K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/debugging.md

    * Go to the "Debug" panel.
    * "Add configuration...".
    * Select "Python"
    * Run the debugger with the option "`Python: Current File (Integrated Terminal)`".
    
    It will then start the server with your **FastAPI** code, stop at your breakpoints, etc.
    
    Here's how it might look:
    
    <img src="/img/tutorial/debugging/image01.png">
    
    ---
    
    If you use Pycharm, you can:
    
    * Open the "Run" menu.
    * Select the option "Debug...".
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jun 22 17:04:16 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  3. tests/test_request_body_parameters_media_type.py

    class Product(BaseModel):
        name: str
        price: float
    
    
    class Shop(BaseModel):
        name: str
    
    
    @app.post("/products")
    async def create_product(data: Product = Body(media_type=media_type, embed=True)):
        pass  # pragma: no cover
    
    
    @app.post("/shops")
    async def create_shop(
        data: Shop = Body(media_type=media_type),
        included: typing.List[Product] = Body(default=[], media_type=media_type),
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/first-steps.md

    You could also use it to generate code automatically, for clients that communicate with your API. For example, frontend, mobile or IoT applications.
    
    ## Recap, step by step
    
    ### Step 1: import `FastAPI`
    
    ```Python hl_lines="1"
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    `FastAPI` is a Python class that provides all the functionality for your API.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 12K bytes
    - Viewed (0)
  5. fastapi/param_functions.py

            Doc(
                """
                'Whitelist' validation step. The parameter field will be the single one
                allowed by the alias or set of aliases defined.
                """
            ),
        ] = None,
        serialization_alias: Annotated[
            Union[str, None],
            Doc(
                """
                'Blacklist' validation step. The vanilla parameter field will be the
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 62.5K bytes
    - Viewed (0)
  6. docs/ja/docs/tutorial/first-steps.md

    ## ステップ毎の要約
    
    ### Step 1: `FastAPI`をインポート
    
    ```Python hl_lines="1"
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    `FastAPI`は、APIのすべての機能を提供するPythonクラスです。
    
    !!! note "技術詳細"
        `FastAPI`は`Starlette`を直接継承するクラスです。
    
        `FastAPI`でも<a href="https://www.starlette.io/" class="external-link" target="_blank">Starlette</a>のすべての機能を利用可能です。
    
    ### Step 2: `FastAPI`の「インスタンス」を生成
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  7. docs/ru/docs/deployment/concepts.md

    При настройке логики развёртываний, вы можете указать **целевое значение** утилизации ресурсов, допустим, **от 50% до 90%**. Обычно эти метрики и используют.
    
    Вы можете использовать простые инструменты, такие как `htop`, для отслеживания загрузки центрального процессора и оперативной памяти сервера, в том числе каждым процессом. Или более сложные системы мониторинга нескольких серверов.
    
    ## Резюме
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  8. docs/en/docs/contributing.md

    Let's say you want to add translations for Creole, and it's not yet there in the docs.
    
    Checking the link from above, the code for "Creole" is `ht`.
    
    The next step is to run the script to generate a new translation directory:
    
    <div class="termy">
    
    ```console
    // Use the command new-lang, pass the language code as a CLI argument
    $ python ./scripts/docs.py new-lang ht
    
    Successfully initialized: docs/ht
    ```
    
    </div>
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 17:42:43 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  9. docs/en/docs/alternatives.md

    It used custom types in its declarations instead of standard Python types, but it was still a huge step forward.
    
    It also was one of the first frameworks to generate a custom schema declaring the whole API in JSON.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  10. docs/ja/docs/deployment/concepts.md

    例えば、リソース使用率の**50%から90%の範囲**で**任意の数字**をターゲットとすることができます。
    
    重要なのは、デプロイメントを微調整するためにターゲットを設定し測定することが、おそらく使用したい主要な要素であることです。
    
    `htop`のような単純なツールを使って、サーバーで使用されているCPUやRAM、あるいは各プロセスで使用されている量を見ることができます。あるいは、より複雑な監視ツールを使って、サーバに分散して使用することもできます。
    
    ## まとめ
    
    アプリケーションのデプロイ方法を決定する際に、考慮すべきであろう主要なコンセプトのいくつかを紹介していきました:
    
    * セキュリティ - HTTPS
    * 起動時の実行
    * 再起動
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 24.1K bytes
    - Viewed (0)
Back to top