Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 1,067 for query (0.03 sec)

  1. docs/pt/docs/tutorial/cookie-params.md

    ```Python hl_lines="9"
    {!> ../../docs_src/cookie_params/tutorial001.py!}
    ```
    
    ////
    
    /// note | Detalhes Técnicos
    
    `Cookie` é uma classe "irmã" de `Path` e `Query`. Ela também herda da mesma classe em comum `Param`.
    
    Mas lembre-se que quando você importa `Query`, `Path`, `Cookie` e outras de `fastapi`, elas são na verdade funções que retornam classes especiais.
    
    ///
    
    /// info | Informação
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/NameServiceClient.java

         * query. This might be the address of a specific host, a name server,
         * or a broadcast address.
         *
         * @param host
         *            the name to resolve
         * @param type
         *            the hex code of the name
         * @param scope
         *            the scope of the name
         * @param svr
         *            server to query
         * @return the resolved address
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.9K bytes
    - Viewed (0)
  3. docs_src/query_param_models/tutorial001_an_py39.py

    from fastapi import FastAPI, Query
    from pydantic import BaseModel, Field
    from typing_extensions import Annotated, Literal
    
    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: Annotated[FilterParams, Query()]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 453 bytes
    - Viewed (0)
  4. docs_src/query_param_models/tutorial002_py39.py

    from fastapi import FastAPI, Query
    from pydantic import BaseModel, Field
    from typing_extensions import Literal
    
    app = FastAPI()
    
    
    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/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 472 bytes
    - Viewed (0)
  5. src/main/resources/fess_label_en.properties

    labels.notificationTo=Notification To
    labels.num=Num
    labels.pn=Page Number
    labels.protocolScheme=Scheme
    labels.purgeByBots=Purge By Bots
    labels.logLevel=Log Level
    labels.purgeSearchLogDay=Purge Search Log
    labels.query=Query
    labels.queryId=Query ID
    labels.rt=rt
    labels.searchLog=Search Log
    labels.sort=Sort
    labels.start=Start Pos
    labels.loginRequired=Login Required
    labels.loginLink=Login Link
    labels.threadName=Thread Name
    labels.url=URL
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Mar 22 11:58:34 UTC 2024
    - 40.7K bytes
    - Viewed (0)
  6. docs_src/path_params_numeric_validations/tutorial006.py

    from fastapi import FastAPI, Path, Query
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_items(
        *,
        item_id: int = Path(title="The ID of the item to get", ge=0, le=1000),
        q: str,
        size: float = Query(gt=0, lt=10.5),
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
        if size:
            results.update({"size": size})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Aug 28 23:39:15 UTC 2024
    - 397 bytes
    - Viewed (0)
  7. docs_src/query_param_models/tutorial002.py

    from typing import List
    
    from fastapi import FastAPI, Query
    from pydantic import BaseModel, Field
    from typing_extensions import Literal
    
    app = FastAPI()
    
    
    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/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 497 bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsJobLogCQ.java

    import org.opensearch.index.query.RangeQueryBuilder;
    import org.opensearch.index.query.RegexpQueryBuilder;
    import org.opensearch.index.query.SpanTermQueryBuilder;
    import org.opensearch.index.query.TermQueryBuilder;
    import org.opensearch.index.query.TermsQueryBuilder;
    import org.opensearch.index.query.WildcardQueryBuilder;
    import org.opensearch.index.query.functionscore.FunctionScoreQueryBuilder;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 71.3K bytes
    - Viewed (0)
  9. ci/official/utilities/code_check_full.bats

        bazel version  # Start the bazel server
    }
    
    # Do a bazel query specifically for the licenses checker. It searches for
    # targets matching the provided query, which start with // or @ but not
    # //tensorflow (so it looks for //third_party, //external, etc.), and then
    # gathers the list of all packages (i.e. directories) which contain those
    # targets.
    license_query() {
     bazel cquery --experimental_cc_shared_library "$1" --keep_going \
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 23 18:48:35 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  10. docs/ja/docs/tutorial/header-params.md

    `Header`は`Path`や`Query`、`Cookie`の「姉妹」クラスです。また、同じ共通の`Param`クラスを継承しています。
    
    しかし、`fastapi`から`Query`や`Path`、`Header`などをインポートする場合、それらは実際には特殊なクラスを返す関数であることを覚えておいてください。
    
    ///
    
    /// info | "情報"
    
    ヘッダーを宣言するには、`Header`を使う必要があります。なぜなら、そうしないと、パラメータがクエリのパラメータとして解釈されてしまうからです。
    
    ///
    
    ## 自動変換
    
    `Header`は`Path`や`Query`、`Cookie`が提供する機能に加え、少しだけ追加の機能を持っています。
    
    ほとんどの標準ヘッダーは、「マイナス記号」(`-`)としても知られる「ハイフン」で区切られています。
    
    しかし、`user-agent`のような変数はPythonでは無効です。
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top