Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 91 for roboto (0.15 sec)

  1. docs/ja/docs/index.md

    ```
    
    </div>
    
    ## アプリケーション例
    
    ### アプリケーションの作成
    
    - `main.py` を作成し、以下のコードを入力します:
    
    ```Python
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: str = None):
        return {"item_id": item_id, "q": q}
    ```
    
    <details markdown="1">
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 21K bytes
    - Viewed (0)
  2. docs/en/mkdocs.yml

          advanced/extending-openapi.md: how-to/extending-openapi.md
      mkdocstrings:
        handlers:
          python:
            options:
              extensions:
              - griffe_typingdoc
              show_root_heading: true
              show_if_no_docstring: true
              preload_modules:
              - httpx
              - starlette
              inherited_members: true
              members_order: source
              separate_signature: true
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/first-steps.md

    ## Recapitulando
    
    * Importe `FastAPI`.
    * Crie uma instância do `app`.
    * Coloque o **decorador que define a operação** (como `@app.get("/")`).
    * Escreva uma **função para a operação da rota** (como `def root(): ...`) abaixo.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  4. docs/ko/docs/tutorial/first-steps.md

    JSON으로 자동 변환되는 객체들과 모델들(ORM 등을 포함해서)이 많이 있습니다. 가장 마음에 드는 것을 사용하십시오, 이미 지원되고 있을 것입니다.
    
    ## 요약
    
    * `FastAPI` 임포트.
    * `app` 인스턴스 생성.
    * (`@app.get("/")`처럼) **경로 작동 데코레이터** 작성.
    * (위에 있는 `def root(): ...`처럼) **경로 작동 함수** 작성.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  5. docs/zh/docs/deployment/docker.md

    * 创建`app`目录并进入。
    * 创建一个空文件`__init__.py`。
    * 创建一个 `main.py` 文件:
    
    
    
    ```Python
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    ### Dockerfile
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 31.2K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/security/get-current-user.md

    Sie haben eigentlich keine Benutzer, die sich bei Ihrer Anwendung anmelden, sondern Roboter, Bots oder andere Systeme, die nur über einen Zugriffstoken verfügen? Auch hier funktioniert alles gleich.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:08:05 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  7. docs/es/docs/features.md

    * Validación para tipos más exóticos como:
        * URL.
        * Email.
        * UUID.
        * ...y otros.
    
    Toda la validación es manejada por **Pydantic**, que es robusto y sólidamente establecido.
    
    ### Seguridad y autenticación
    
    La seguridad y la autenticación están integradas. Sin ningún compromiso con bases de datos ni modelos de datos.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  8. docs/em/docs/advanced/behind-a-proxy.md

    ```JSON
    {
        "message": "Hello World",
        "root_path": "/api/v1"
    }
    ```
    
    ### ⚒ `root_path` FastAPI 📱
    
    👐, 🚥 👆 🚫 ✔️ 🌌 🚚 📋 ⏸ 🎛 💖 `--root-path` ⚖️ 🌓, 👆 💪 ⚒ `root_path` 🔢 🕐❔ 🏗 👆 FastAPI 📱:
    
    ```Python hl_lines="3"
    {!../../../docs_src/behind_a_proxy/tutorial002.py!}
    ```
    
    🚶‍♀️ `root_path` `FastAPI` 🔜 🌓 🚶‍♀️ `--root-path` 📋 ⏸ 🎛 Uvicorn ⚖️ Hypercorn.
    
    ### 🔃 `root_path`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  9. tests/test_multipart_installation.py

            @app.post("/")
            async def root(f: bytes = File()):
                return f  # pragma: nocover
    
    
    def test_incorrect_multipart_installed_multi_form(monkeypatch):
        monkeypatch.delattr("multipart.multipart.parse_options_header", raising=False)
        with pytest.raises(RuntimeError, match=multipart_incorrect_install_error):
            app = FastAPI()
    
            @app.post("/")
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 13 23:38:22 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  10. tests/test_response_model_invalid.py

            app = FastAPI()
    
            @app.get("/", response_model=NonPydanticModel)
            def read_root():
                pass  # pragma: nocover
    
    
    def test_invalid_response_model_sub_type_raises():
        with pytest.raises(FastAPIError):
            app = FastAPI()
    
            @app.get("/", response_model=List[NonPydanticModel])
            def read_root():
                pass  # pragma: nocover
    
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Feb 29 13:04:35 GMT 2020
    - 1.1K bytes
    - Viewed (0)
Back to top