Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2901 - 2910 of 4,638 for Name (0.04 sec)

  1. docs_src/body_multiple_params/tutorial003_an.py

    from typing import Union
    
    from fastapi import Body, FastAPI
    from pydantic import BaseModel
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
    
    
    class User(BaseModel):
        username: str
        full_name: Union[str, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 604 bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/promotion/SanityCheck.kt

    import vcsroots.gradlePromotionMaster
    import vcsroots.useAbsoluteVcs
    
    // Gradle_Master_Promotion_SanityCheck
    object SanityCheck : BuildType({
        id("Promotion_SanityCheck")
        name = "SanityCheck"
        description = "Sanity check for promotion project"
    
        vcs.useAbsoluteVcs(gradlePromotionMaster)
    
        steps {
            gradleWrapper {
                tasks = "tasks"
                gradleParams = ""
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Dec 05 00:08:14 UTC 2023
    - 977 bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/request-forms.md

    Вы можете настроить `Form` точно так же, как настраиваете и  `Body` ( `Query`, `Path`, `Cookie`), включая валидации, примеры, псевдонимы (например, `user-name` вместо `username`) и т.д.
    
    /// info | "Дополнительная информация"
    
    `Form` - это класс, который наследуется непосредственно от `Body`.
    
    ///
    
    /// tip | "Подсказка"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_request_form_models/test_tutorial002_pv1_an_p39.py

    import pytest
    from fastapi.testclient import TestClient
    
    from tests.utils import needs_py39, needs_pydanticv1
    
    
    @pytest.fixture(name="client")
    def get_client():
        from docs_src.request_form_models.tutorial002_pv1_an_py39 import app
    
        client = TestClient(app)
        return client
    
    
    # TODO: remove when deprecating Pydantic v1
    @needs_pydanticv1
    @needs_py39
    def test_post_body_form(client: TestClient):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 06 17:31:18 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_websockets/test_tutorial002_an_py39.py

    import pytest
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from fastapi.websockets import WebSocketDisconnect
    
    from ...utils import needs_py39
    
    
    @pytest.fixture(name="app")
    def get_app():
        from docs_src.websockets.tutorial002_an_py39 import app
    
        return app
    
    
    @needs_py39
    def test_main(app: FastAPI):
        client = TestClient(app)
        response = client.get("/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  6. LICENSE

          comment syntax for the file format. We also recommend that a
          file or class name and description of purpose be included on the
          same "printed page" as the copyright notice for easier
          identification within third-party archives.
    
       Copyright [yyyy] [name of copyright owner]
    
       Licensed under the Apache License, Version 2.0 (the "License");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 22 18:59:39 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  7. LICENSES/vendor/github.com/coredns/caddy/LICENSE

          comment syntax for the file format. We also recommend that a
          file or class name and description of purpose be included on the
          same "printed page" as the copyright notice for easier
          identification within third-party archives.
    
       Copyright {yyyy} {name of copyright owner}
    
       Licensed under the Apache License, Version 2.0 (the "License");
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Sun Jun 13 05:06:37 UTC 2021
    - 11.2K bytes
    - Viewed (0)
  8. LICENSES/vendor/github.com/coredns/corefile-migration/LICENSE

          comment syntax for the file format. We also recommend that a
          file or class name and description of purpose be included on the
          same "printed page" as the copyright notice for easier
          identification within third-party archives.
    
       Copyright [yyyy] [name of copyright owner]
    
       Licensed under the Apache License, Version 2.0 (the "License");
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Fri May 08 04:49:00 UTC 2020
    - 11.2K bytes
    - Viewed (0)
  9. licenses/cel.dev/expr/LICENSE

          comment syntax for the file format. We also recommend that a
          file or class name and description of purpose be included on the
          same "printed page" as the copyright notice for easier
          identification within third-party archives.
    
       Copyright [yyyy] [name of copyright owner]
    
       Licensed under the Apache License, Version 2.0 (the "License");
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Apr 08 17:05:56 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  10. licenses/github.com/containernetworking/plugins/LICENSE

          comment syntax for the file format. We also recommend that a
          file or class name and description of purpose be included on the
          same "printed page" as the copyright notice for easier
          identification within third-party archives.
    
       Copyright {yyyy} {name of copyright owner}
    
       Licensed under the Apache License, Version 2.0 (the "License");
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jun 16 20:42:16 UTC 2020
    - 11.1K bytes
    - Viewed (0)
Back to top