Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 2,339 for Tresults (0.13 sec)

  1. docs_src/query_params_str_validations/tutorial006.py

    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: str = Query(min_length=3)):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 254 bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/configurations/PerformanceTestsPass.kt

                            id = "ARTIFACT_DEPENDENCY_${performanceTest.id!!}"
                            cleanDestination = true
                            val perfResultArtifactRule = """results/performance/build/test-results-*.zip!performance-tests/perf-results*.json => $performanceResultsDir/${performanceTest.bucketIndex}/"""
                            artifactRules = if (index == 0) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:42 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. docs_src/path_params_numeric_validations/tutorial001_an_py39.py

    async def read_items(
        item_id: Annotated[int, Path(title="The ID of the item to get")],
        q: Annotated[Union[str, None], Query(alias="item-query")] = None,
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 388 bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/constant_fold.cc

    // Otherwise, allow folding if we do not know the shape of an operand or
    // result i.e., one of these values has non-static shape. If we know all the
    // shapes, find the total size of the operands and results. Folding of the op is
    // allowed if one of the following conditions are met:
    // 1. size of results is less than a certain threshold
    // (`kResultsSizeThreshold`), or
    // 2. size of results is within a factor (`kSizeFactor`) of size of operands, or
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. docs_src/query_params_str_validations/tutorial005.py

    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: str = Query(default="fixedquery", min_length=3)):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 276 bytes
    - Viewed (0)
  6. docs_src/query_params_str_validations/tutorial002_py310.py

    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: str | None = Query(default=None, max_length=50)):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 276 bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfr/ir/tfr_ops.td

        ```
      }];
    
      let arguments = (ins
          TFR_AttrType:$lhs,
          TFR_AttrType:$rhs
      );
      let results = (outs BoolLike:$result);
    
      let hasFolder = 1;
    
      let assemblyFormat = "$lhs `,` $rhs attr-dict `->` type($result)";
    }
    
    def TFR_ConstOp : TFR_Op<"constant", [ConstantLike, Pure]> {
      let description = [{
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 10:54:29 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  8. docs_src/query_params_str_validations/tutorial008.py

            description="Query string for the items to search in the database that have a good match",
            min_length=3,
        ),
    ):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 466 bytes
    - Viewed (0)
  9. docs_src/query_params_str_validations/tutorial006_an.py

    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: Annotated[str, Query(min_length=3)]):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 304 bytes
    - Viewed (0)
  10. docs_src/path_params_numeric_validations/tutorial003.py

    from fastapi import FastAPI, Path
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_items(*, item_id: int = Path(title="The ID of the item to get"), q: str):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 268 bytes
    - Viewed (0)
Back to top