Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for addr (0.16 sec)

  1. docs/en/docs/contributing.md

        ```console
        $ mkdocs serve --dev-addr 8008
        ```
    
    Now you can go to <a href="http://127.0.0.1:8008" class="external-link" target="_blank">http://127.0.0.1:8008</a> and see your changes live.
    
    You will see that every language has all the pages. But some pages are not translated and have an info box at the top, about the missing translation.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Jan 11 17:42:43 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  2. scripts/docs-live.sh

    #!/usr/bin/env bash
    
    set -e
    
    Shell Script
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 16 17:19:13 GMT 2019
    - 66 bytes
    - Viewed (0)
  3. scripts/docs.py

        os.environ["LINENUMS"] = "true"
        if lang is None:
            lang = "en"
        lang_path: Path = docs_path / lang
        os.chdir(lang_path)
        mkdocs.commands.serve.serve(dev_addr="127.0.0.1:8008")
    
    
    def get_updated_config_content() -> Dict[str, Any]:
        config = get_en_config()
        languages = [{"en": "/"}]
        new_alternate: List[Dict[str, str]] = []
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Jan 22 19:26:14 GMT 2024
    - 10.9K bytes
    - Viewed (1)
  4. docs/zh/docs/contributing.md

    !!! tip
        或者你也可以手动执行和该脚本一样的操作
    
        进入语言目录,如果是英文文档,目录则是 `docs/en/`:
    
        ```console
        $ cd docs/en/
        ```
    
        在该目录执行 `mkdocs` 命令
    
        ```console
        $ mkdocs serve --dev-addr 8008
        ```
    
    #### Typer CLI (可选)
    
    本指引向你展示了如何直接用 `python` 运行 `./scripts/docs.py` 中的脚本。
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 11:57:21 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  5. docs/de/docs/contributing.md

        ```console
        $ cd docs/en/
        ```
    
        Führen Sie dann `mkdocs` in diesem Verzeichnis aus:
    
        ```console
        $ mkdocs serve --dev-addr 8008
        ```
    
    #### Typer-CLI (optional)
    
    Die Anleitung hier zeigt Ihnen, wie Sie das Skript unter `./scripts/docs.py` direkt mit dem `python` Programm verwenden.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 23:55:23 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  6. docs/en/docs/release-notes.md

    * 🌐 Add Bengali translations for `docs/bn/docs/python-types.md`. PR [#11376](https://github.com/tiangolo/fastapi/pull/11376) by [@imtiaz101325](https://github.com/imtiaz101325).
    * 🌐 Add Korean translation for `docs/ko/docs/tutorial/security/simple-oauth2.md`. PR [#5744](https://github.com/tiangolo/fastapi/pull/5744) by [@KdHyeon0661](https://github.com/KdHyeon0661).
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Apr 28 00:28:00 GMT 2024
    - 385.5K bytes
    - Viewed (1)
  7. docs/en/docs/tutorial/dependencies/global-dependencies.md

    # Global Dependencies
    
    For some types of applications you might want to add dependencies to the whole application.
    
    Similar to the way you can [add `dependencies` to the *path operation decorators*](dependencies-in-path-operation-decorators.md){.internal-link target=_blank}, you can add them to the `FastAPI` application.
    
    In that case, they will be applied to all the *path operations* in the application:
    
    === "Python 3.9+"
    
        ```Python hl_lines="16"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  8. docs/en/docs/how-to/general.md

    ## Documentation Tags - OpenAPI
    
    To add tags to your *path operations*, and group them in the docs UI, read the docs for [Tutorial - Path Operation Configurations - Tags](../tutorial/path-operation-configuration.md#tags){.internal-link target=_blank}.
    
    ## Documentation Summary and Description - OpenAPI
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Aug 19 19:54:04 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_sql_databases/test_sql_databases.py

        assert response.status_code == 400, response.text
    
    
    # TODO: pv2 add version with Pydantic v2
    @needs_pydanticv1
    def test_get_user(client):
        response = client.get("/users/1")
        assert response.status_code == 200, response.text
        data = response.json()
        assert "email" in data
        assert "id" in data
    
    
    # TODO: pv2 add version with Pydantic v2
    @needs_pydanticv1
    def test_nonexistent_user(client):
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:07:10 GMT 2024
    - 16.1K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py310.py

    
    @needs_py310
    # TODO: pv2 add version with Pydantic v2
    @needs_pydanticv1
    def test_get_user(client):
        response = client.get("/users/1")
        assert response.status_code == 200, response.text
        data = response.json()
        assert "email" in data
        assert "id" in data
    
    
    @needs_py310
    # TODO: pv2 add version with Pydantic v2
    @needs_pydanticv1
    def test_nonexistent_user(client):
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:07:10 GMT 2024
    - 16.5K bytes
    - Viewed (0)
Back to top