Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 56 for social (0.72 sec)

  1. scripts/docs.py

            code = list(lang_dict.keys())[0]
            url = lang_dict[code]
            if code not in local_language_names:
                print(
                    f"Missing language name for: {code}, "
                    "update it in docs/language_names.yml"
                )
                raise typer.Abort()
            use_name = f"{code} - {local_language_names[code]}"
            new_alternate.append({"link": url, "name": use_name})
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jan 22 19:26:14 GMT 2024
    - 10.9K bytes
    - Viewed (1)
  2. docs/pt/docs/python-types.md

    ```Python hl_lines="2"
    {!../../../docs_src/python_types/tutorial004.py!}
    ```
    
    ## Tipos de declaração
    
    Você acabou de ver o local principal para declarar type hints. Como parâmetros de função.
    
    Este também é o principal local em que você os usaria com o **FastAPI**.
    
    ### Tipos simples
    
    Você pode declarar todos os tipos padrão de Python, não apenas `str`.
    
    Você pode usar, por exemplo:
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/header-params.md

        But remember that when you import `Query`, `Path`, `Header`, and others from `fastapi`, those are actually functions that return special classes.
    
    !!! info
        To declare headers, you need to use `Header`, because otherwise the parameters would be interpreted as query parameters.
    
    ## Automatic conversion
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  4. docs/en/docs/deployment/docker.md

    off **building an image from scratch** as described above: [Build a Docker Image for FastAPI](#build-a-docker-image-for-fastapi).
    
    This image would be useful mainly in the special cases described above in [Containers with Multiple Processes and Special Cases](#containers-with-multiple-processes-and-special-cases). For example, if your application is **simple enough** that setting a default number of processes based on the CPU works well, you don't want to bother with manually configuring...
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 34K bytes
    - Viewed (0)
  5. docs/ja/docs/deployment/docker.md

    このイメージは、主に上記で説明した状況で役に立つでしょう: [複数のプロセスと特殊なケースを持つコンテナ(Containers with Multiple Processes and Special Cases)](#containers-with-multiple-processes-and-special-cases)
    
    * <a href="https://github.com/tiangolo/uvicorn-gunicorn-fastapi-docker" class="external-link" target="_blank">tiangolo/uvicorn-gunicorn-fastapi</a>.
    
    !!! warning
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 44.3K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/path-params-numeric-validations.md

    * declare the `q` query parameter without a `Query` nor any default value
    * declare the path parameter `item_id` using `Path`
    * have them in a different order
    * not use `Annotated`
    
    ...Python has a little special syntax for that.
    
    Pass `*`, as the first parameter of the function.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  7. docs/en/docs/how-to/custom-docs-ui-assets.md

    ## Self-hosting JavaScript and CSS for docs
    
    Self-hosting the JavaScript and CSS could be useful if, for example, you need your app to keep working even while offline, without open Internet access, or in a local network.
    
    Here you'll see how to serve those files yourself, in the same FastAPI app, and configure the docs to use them.
    
    ### Project file structure
    
    Let's say your project file structure looks like this:
    
    ```
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Oct 30 09:58:58 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    === "Python 3.8+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python
        commons: CommonQueryParams ...
        ```
    
    ...doesn't have any special meaning for **FastAPI**. FastAPI won't use it for data conversion, validation, etc. (as it is using the `Depends(CommonQueryParams)` for that).
    
    You could actually write just:
    
    === "Python 3.8+"
    
        ```Python
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  9. docs/vi/docs/tutorial/first-steps.md

    Trong output, có một dòng giống như:
    
    ```hl_lines="4"
    INFO:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    Dòng đó cho thấy URL, nơi mà app của bạn đang được chạy, trong máy local của bạn.
    
    ### Kiểm tra
    
    Mở trình duyệt của bạn tại <a href="http://127.0.0.1:8000" class="external-link" target="_blank">http://127.0.0.1:8000</a>.
    
    Bạn sẽ thấy một JSON response như:
    
    ```JSON
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Sep 02 15:44:17 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  10. docs/en/docs/reference/parameters.md

    # Request Parameters
    
    Here's the reference information for the request parameters.
    
    These are the special functions that you can put in *path operation function* parameters or dependency functions with `Annotated` to get data from the request.
    
    It includes:
    
    * `Query()`
    * `Path()`
    * `Body()`
    * `Cookie()`
    * `Header()`
    * `Form()`
    * `File()`
    
    You can import them all directly from `fastapi`:
    
    ```python
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 603 bytes
    - Viewed (0)
Back to top