Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 759 for flot (0.02 sec)

  1. docs_src/path_operation_configuration/tutorial004_py310.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
        tags: set[str] = set()
    
    
    @app.post("/items/", response_model=Item, summary="Create an item")
    async def create_item(item: Item):
        """
        Create an item with all the information:
    
        - **name**: each item must have a name
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 638 bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/extra-data-types.md

    # Дополнительные типы данных { #extra-data-types }
    
    До сих пор вы использовали простые типы данных, такие как:
    
    * `int`
    * `float`
    * `str`
    * `bool`
    
    Но вы также можете использовать и более сложные типы.
    
    При этом у вас останутся те же возможности, что и до сих пор:
    
    * Отличная поддержка редактора кода.
    * Преобразование данных из входящих запросов.
    * Преобразование данных для ответа.
    * Валидация данных.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  3. tests/test_pydanticv2_dataclasses_uuid_stringified_annotations.py

    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    
    @dataclass
    class Item:
        id: uuid.UUID
        name: str
        price: float
        tags: list[str] = field(default_factory=list)
        description: Union[str, None] = None
        tax: Union[float, None] = None
    
    
    app = FastAPI()
    
    
    @app.get("/item", response_model=Item)
    async def read_item():
        return {
            "id": uuid.uuid4(),
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  4. docs_src/body_updates/tutorial002_py39.py

    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: Union[str, None] = None
        description: Union[str, None] = None
        price: Union[float, None] = None
        tax: float = 10.5
        tags: list[str] = []
    
    
    items = {
        "foo": {"name": "Foo", "price": 50.2},
        "bar": {"name": "Bar", "description": "The bartenders", "price": 62, "tax": 20.2},
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 1K bytes
    - Viewed (0)
  5. docs_src/path_operation_advanced_configuration/tutorial004_py39.py

    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
        tags: set[str] = set()
    
    
    @app.post("/items/", response_model=Item, summary="Create an item")
    async def create_item(item: Item):
        """
        Create an item with all the information:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 712 bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/entity/ElevateWord.java

    public class ElevateWord {
    
        /**
         * The elevate word.
         */
        protected final String elevateWord;
    
        /**
         * The boost value associated with the elevate word.
         */
        protected final float boost;
    
        /**
         * The list of readings associated with the elevate word.
         */
        protected final List<String> readings;
    
        /**
         * The list of fields associated with the elevate word.
         */
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 4K bytes
    - Viewed (0)
  7. src/main/webapp/css/admin/plugins/daterangepicker/daterangepicker.css

        padding-right: 8px;
      }
    
      .daterangepicker .ranges, .daterangepicker .drp-calendar {
        float: left;
      }
    }
    
    @media (min-width: 730px) {
      .daterangepicker .ranges {
        width: auto;
      }
    
      .daterangepicker .ranges {
        float: left;
      }
    
      .daterangepicker.rtl .ranges {
        float: right;
      }
    
      .daterangepicker .drp-calendar.left {
        clear: none !important;
      }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. fastapi/security/oauth2.py

    
    class OAuth2PasswordRequestForm:
        """
        This is a dependency class to collect the `username` and `password` as form data
        for an OAuth2 password flow.
    
        The OAuth2 specification dictates that for a password flow the data should be
        collected using form data (instead of JSON) and that it should have the specific
        fields `username` and `password`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 22K bytes
    - Viewed (0)
  9. .teamcity/test-buckets.json

            ],
            "parallelizationMethod": {
              "name": "TestDistribution"
            }
          },
          {
            "subprojects": [
              "base-services",
              "build-cache",
              "flow-services",
              "input-tracking",
              "internal-integ-testing",
              "model-core",
              "persistent-cache",
              "process-memory-services",
              "scala",
              "snapshots",
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Aug 01 00:23:04 UTC 2025
    - 119.4K bytes
    - Viewed (0)
  10. docs_src/body_updates/tutorial001_py39.py

    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: Union[str, None] = None
        description: Union[str, None] = None
        price: Union[float, None] = None
        tax: float = 10.5
        tags: list[str] = []
    
    
    items = {
        "foo": {"name": "Foo", "price": 50.2},
        "bar": {"name": "Bar", "description": "The bartenders", "price": 62, "tax": 20.2},
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 900 bytes
    - Viewed (0)
Back to top