Search Options

Results per page
Sort
Preferred Languages
Advance

Results 471 - 480 of 704 for tabs (0.02 sec)

  1. docs_src/body_nested_models/tutorial002_py39.py

    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: list[str] = []
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
        results = {"item_id": item_id, "item": item}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 407 bytes
    - Viewed (0)
  2. docs_src/query_param_models/tutorial001_py310.py

    app = FastAPI()
    
    
    class FilterParams(BaseModel):
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: list[str] = []
    
    
    @app.get("/items/")
    async def read_items(filter_query: FilterParams = Query()):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 422 bytes
    - Viewed (0)
  3. internal/s3select/csv/testdata/testdata.zip

    379577636719,1,1.20,7,0,0.5,0,0,,,7.5,2,1,166,42,green,0.00,0.0,0.0,54,40,8.05,1312,209.01,1,Manhattan,020901,1020901,E,MN09,Morningside Heights,3802,1647,224,1,Manhattan,022400,1022400,E,MN03,Central Harlem North-Polo Grounds,3803^Y nyc-taxi-data-tabs-100k.csv trip_id vendor_id pickup_datetime dropoff_datetime store_and_fwd_flag rate_code_id pickup_longitude pickup_latitude dropoff_longitude dropoff_latitude passenger_count trip_distance fare_amount extra mta_tax tip_amount tolls_amount ehail_fee...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 111.6K bytes
    - Viewed (0)
  4. native-image-tests/src/main/kotlin/okhttp3/GenerateClassList.kt

     */
    package okhttp3
    
    import java.io.File
    import org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
    import org.junit.platform.engine.discovery.DiscoverySelectors
    
    // TODO move to junit5 tags
    val avoidedTests =
      setOf(
        "okhttp3.BouncyCastleTest",
        "okhttp3.ConscryptTest",
        "okhttp3.CorrettoTest",
        "okhttp3.OpenJSSETest",
        "okhttp3.internal.platform.Jdk8WithJettyBootPlatformTest",
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/encoder.md

    Es nimmt ein Objekt entgegen, wie etwa ein Pydantic-Modell, und gibt eine JSON-kompatible Version zurück:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="4  21"
    {!> ../../docs_src/encoder/tutorial001_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="5  22"
    {!> ../../docs_src/encoder/tutorial001.py!}
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. docs_src/bigger_applications/app_an/main.py

    app = FastAPI(dependencies=[Depends(get_query_token)])
    
    
    app.include_router(users.router)
    app.include_router(items.router)
    app.include_router(
        admin.router,
        prefix="/admin",
        tags=["admin"],
        dependencies=[Depends(get_token_header)],
        responses={418: {"description": "I'm a teapot"}},
    )
    
    
    @app.get("/")
    async def root():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 552 bytes
    - Viewed (0)
  7. docs_src/body_nested_models/tutorial004_py310.py

    app = FastAPI()
    
    
    class Image(BaseModel):
        url: str
        name: str
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
        tags: set[str] = set()
        image: Image | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
        results = {"item_id": item_id, "item": item}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed May 11 17:29:02 UTC 2022
    - 455 bytes
    - Viewed (0)
  8. docs_src/query_param_models/tutorial002_an_py39.py

    
    class FilterParams(BaseModel):
        model_config = {"extra": "forbid"}
    
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: list[str] = []
    
    
    @app.get("/items/")
    async def read_items(filter_query: Annotated[FilterParams, Query()]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 493 bytes
    - Viewed (0)
  9. docs_src/query_param_models/tutorial002_pv1_py310.py

    class FilterParams(BaseModel):
        class Config:
            extra = "forbid"
    
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: list[str] = []
    
    
    @app.get("/items/")
    async def read_items(filter_query: FilterParams = Query()):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 466 bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/opensearch/extension/analysis/PosConcatenationFilterFactory.java

                final Settings settings) {
            super(indexSettings, name, settings);
    
            final List<String> tagList = Analysis.parseWordList(environment, settings, "tags", s -> s);
            if (tagList != null) {
                posTags.addAll(tagList);
            }
        }
    
        @Override
        public TokenStream create(final TokenStream tokenStream) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top