Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 723 for tag4 (0.02 sec)

  1. docs_src/query_param_models/tutorial001.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
    - 457 bytes
    - Viewed (0)
  2. docs_src/query_param_models/tutorial002_pv1_an_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: Annotated[FilterParams, Query()]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 487 bytes
    - Viewed (0)
  3. docs_src/response_model/tutorial001_01_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: list[str] = []
    
    
    @app.post("/items/")
    async def create_item(item: Item) -> Item:
        return item
    
    
    @app.get("/items/")
    async def read_items() -> list[Item]:
        return [
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Jan 07 13:45:48 UTC 2023
    - 469 bytes
    - Viewed (0)
  4. docs_src/query_param_models/tutorial002_an.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
    - 518 bytes
    - Viewed (0)
  5. istioctl/cmd/root.go

    	bugReportCmd := bugreport.Cmd(ctx, root.LoggingOptions)
    	hideInheritedFlags(bugReportCmd, cli.FlagNamespace, cli.FlagIstioNamespace)
    	rootCmd.AddCommand(bugReportCmd)
    
    	tagCmd := tag.TagCommand(ctx)
    	hideInheritedFlags(tag.TagCommand(ctx), cli.FlagNamespace, cli.FlagIstioNamespace, FlagCharts)
    	rootCmd.AddCommand(tagCmd)
    
    	// leave the multicluster commands in x for backwards compat
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Aug 05 02:08:47 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/it/admin/SearchListTests.java

    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.codelibs.fess.it.CrudTestBase;
    import org.junit.jupiter.api.Tag;
    import org.junit.jupiter.api.Test;
    
    import io.restassured.path.json.JsonPath;
    
    @Tag("it")
    public class SearchListTests extends CrudTestBase {
    
        private static final String NAME_PREFIX = "searchListTest_";
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. docs_src/response_model/tutorial001_01.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.post("/items/")
    async def create_item(item: Item) -> Item:
        return item
    
    
    @app.get("/items/")
    async def read_items() -> List[Item]:
        return [
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Jan 07 13:45:48 UTC 2023
    - 513 bytes
    - Viewed (0)
  8. manifests/addons/dashboards/lib/queries.libsonnet

            ),
    
          allIstioBuild:
            self.query(
              '{{component}} ({{tag}})',
              sum('istio_build', by=['component', 'tag'])
            ),
    
          istioBuild:
            self.query(
              'Version ({{tag}})',
              sum(labels('istio_build', { component: names.component }), by=['tag'])
            ),
    
          cpuUsage:
            self.query(
              'Container ({{pod}})',
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jul 26 23:54:32 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  9. docker-buildx.sh

    	echo "Script requires that the 'upstream' remote is set to ******@****.***:minio/minio.git"
    	exit 1
    fi
    
    git remote update upstream && git checkout master && git rebase upstream/master
    
    release=$(git describe --abbrev=0 --tags)
    
    docker buildx build --push --no-cache \
    	--build-arg RELEASE="${release}" \
    	-t "minio/minio:latest" \
    	-t "quay.io/minio/minio:latest" \
    	-t "minio/minio:${release}" \
    	-t "quay.io/minio/minio:${release}" \
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 14:06:17 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_header_param_models/test_tutorial001.py

        response = client.get(
            "/items/",
            headers=[
                ("save-data", "true"),
                ("if-modified-since", "yesterday"),
                ("traceparent", "123"),
                ("x-tag", "one"),
                ("x-tag", "two"),
            ],
        )
        assert response.status_code == 200
        assert response.json() == {
            "host": "testserver",
            "save_data": True,
            "if_modified_since": "yesterday",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top