Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 581 for ello (0.02 seconds)

  1. docs_src/python_types/tutorial009_py310.py

    def say_hi(name: str | None = None):
        if name is not None:
            print(f"Hey {name}!")
        else:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Jan 07 14:11:31 GMT 2022
    - 131 bytes
    - Click Count (0)
  2. docs_src/configure_swagger_ui/tutorial001_py310.py

    from fastapi import FastAPI
    
    app = FastAPI(swagger_ui_parameters={"syntaxHighlight": False})
    
    
    @app.get("/users/{username}")
    async def read_user(username: str):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 205 bytes
    - Click Count (0)
  3. docs_src/configure_swagger_ui/tutorial003_py310.py

    from fastapi import FastAPI
    
    app = FastAPI(swagger_ui_parameters={"deepLinking": False})
    
    
    @app.get("/users/{username}")
    async def read_user(username: str):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 201 bytes
    - Click Count (0)
  4. docs_src/behind_a_proxy/tutorial003_py310.py

            {"url": "https://prod.example.com", "description": "Production environment"},
        ],
        root_path="/api/v1",
    )
    
    
    @app.get("/app")
    def read_main(request: Request):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 405 bytes
    - Click Count (0)
  5. docs/fr/docs/how-to/custom-docs-ui-assets.md

    Si vous intégrez votre API à un fournisseur OAuth2, vous pourrez vous authentifier et revenir aux docs de l’API avec les identifiants acquis. Et interagir avec elle en utilisant la véritable authentification OAuth2.
    
    Swagger UI s’en chargera en arrière‑plan pour vous, mais il a besoin de cet assistant « redirect ».
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  6. src/archive/tar/testdata/ustar.tar

    longname/longname/longname/longname/longname/longname/longname/longname/longname/longname/longname/longname/longname/longname/longname/file.txt hello...
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Sep 08 04:08:51 GMT 2014
    - 2K bytes
    - Click Count (0)
  7. docs_src/response_headers/tutorial002_py310.py

    from fastapi import FastAPI, Response
    
    app = FastAPI()
    
    
    @app.get("/headers-and-object/")
    def get_headers(response: Response):
        response.headers["X-Cat-Dog"] = "alone in the world"
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 222 bytes
    - Click Count (0)
  8. tests/test_tutorial/test_behind_a_proxy/test_tutorial004.py

    from docs_src.behind_a_proxy.tutorial004_py310 import app
    
    client = TestClient(app)
    
    
    def test_main():
        response = client.get("/app")
        assert response.status_code == 200
        assert response.json() == {"message": "Hello World", "root_path": "/api/v1"}
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200
        assert response.json() == snapshot(
            {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 1.4K bytes
    - Click Count (0)
  9. docs/zh/docs/_llm-test.md

    ## 标题 { #headings }
    
    //// tab | 测试
    
    ### 开发 Web 应用——教程 { #develop-a-webapp-a-tutorial }
    
    Hello.
    
    ### 类型提示与注解 { #type-hints-and-annotations }
    
    Hello again.
    
    ### 超类与子类 { #super-and-subclasses }
    
    Hello again.
    
    ////
    
    //// tab | 信息
    
    关于标题的唯一硬性规则是:LLM 必须保持花括号内的哈希部分不变,以确保链接不会失效。
    
    参见 `scripts/translate.py` 中通用提示的 `### Headings` 部分。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  10. docs_src/custom_response/tutorial009c_py310.py

            assert orjson is not None, "orjson must be installed"
            return orjson.dumps(content, option=orjson.OPT_INDENT_2)
    
    
    @app.get("/", response_class=CustomORJSONResponse)
    async def main():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 451 bytes
    - Click Count (0)
Back to Top