Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 2,339 for Tresults (0.62 sec)

  1. docs_src/body_multiple_params/tutorial004.py

        *,
        item_id: int,
        item: Item,
        user: User,
        importance: int = Body(gt=0),
        q: Union[str, None] = None,
    ):
        results = {"item_id": item_id, "item": item, "user": user, "importance": importance}
        if q:
            results.update({"q": q})
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 10 18:49:18 UTC 2023
    - 653 bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/tasks/testing/TestReport.java

                Test test = (Test) result;
                dirs.from(test.getBinaryResultsDirectory());
            } else if (result instanceof Iterable<?>) {
                Iterable<?> iterable = (Iterable<?>) result;
                for (Object nested : iterable) {
                    addTo(nested, dirs);
                }
            } else {
                dirs.from(result);
            }
        }
    
        /**
         * Adds some results to include in the report.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  3. docs_src/query_params_str_validations/tutorial003_an.py

    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: Annotated[Union[str, None], Query(min_length=3, max_length=50)] = None,
    ):
        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 Mar 26 16:56:53 UTC 2024
    - 372 bytes
    - Viewed (0)
  4. platforms/software/resources-s3/src/test/groovy/org/gradle/internal/resource/transport/aws/s3/S3ResourceResolverTest.groovy

            objectListing.getCommonPrefixes() >> ['root/SNAPSHOT']
    
            S3ResourceResolver resolver = new S3ResourceResolver()
    
            when:
            def results = resolver.resolveResourceNames(objectListing)
    
            then:
            results == ['some.jar', 'someOther.jar', 'SNAPSHOT']
        }
    
        def "should clean common prefixes"() {
            setup:
            ObjectListing objectListing = Mock()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  5. docs_src/body_multiple_params/tutorial004_an.py

        *,
        item_id: int,
        item: Item,
        user: User,
        importance: Annotated[int, Body(gt=0)],
        q: Union[str, None] = None,
    ):
        results = {"item_id": item_id, "item": item, "user": user, "importance": importance}
        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
    - 703 bytes
    - Viewed (0)
  6. docs_src/body_multiple_params/tutorial004_an_py39.py

        *,
        item_id: int,
        item: Item,
        user: User,
        importance: Annotated[int, Body(gt=0)],
        q: Union[str, None] = None,
    ):
        results = {"item_id": item_id, "item": item, "user": user, "importance": importance}
        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
    - 674 bytes
    - Viewed (0)
  7. utils/utils.go

    }
    
    func ToStringKey(values ...interface{}) string {
    	results := make([]string, len(values))
    
    	for idx, value := range values {
    		if valuer, ok := value.(driver.Valuer); ok {
    			value, _ = valuer.Value()
    		}
    
    		switch v := value.(type) {
    		case string:
    			results[idx] = v
    		case []byte:
    			results[idx] = string(v)
    		case uint:
    			results[idx] = strconv.FormatUint(uint64(v), 10)
    		default:
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Apr 22 06:43:02 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. docs_src/body_multiple_params/tutorial001_py310.py

        *,
        item_id: int = Path(title="The ID of the item to get", ge=0, le=1000),
        q: str | None = None,
        item: Item | None = None,
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
        if item:
            results.update({"item": item})
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 546 bytes
    - Viewed (0)
  9. subprojects/core-api/src/main/java/org/gradle/api/tasks/TaskOutputs.java

         *
         * @param spec specifies if the results of the task should be cached.
         *
         * @since 3.0
         */
        void cacheIf(Spec<? super Task> spec);
    
        /**
         * <p>Cache the results of the task only if the given spec is satisfied. If the spec is not satisfied,
         * the results of the task will not be cached.</p>
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 05 11:37:21 UTC 2019
    - 7.5K bytes
    - Viewed (0)
  10. docs_src/path_params_numeric_validations/tutorial006.py

    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})
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 10 18:49:18 UTC 2023
    - 345 bytes
    - Viewed (0)
Back to top