Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,126 for 50$ (0.05 sec)

  1. docs_src/query_params_str_validations/tutorial002_an.py

    from typing import Union
    
    from fastapi import FastAPI, Query
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: Annotated[Union[str, None], Query(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: Sat Mar 18 12:29:59 UTC 2023
    - 351 bytes
    - Viewed (0)
  2. docs_src/query_params_str_validations/tutorial004.py

    from typing import Union
    
    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: Union[str, None] = Query(
            default=None, min_length=3, max_length=50, pattern="^fixedquery$"
        ),
    ):
        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
    - 367 bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/StreamingResolutionResultBuilderTest.groovy

            then:
            printGraph(result.rootSource.get()) == """org:root:1.0
      org:dep1:1.0 -> org:dep1:1.0 - Could not resolve org:dep1:1.0.
      org:dep2:2.0 [root]
        org:dep1:5.0 -> org:dep1:5.0 - Could not resolve org:dep1:5.0.
    """
        }
    
        private DependencyGraphEdge dep(DependencyGraphSelector selector, Long fromVariant, Long selectedId) {
            def edge = Stub(DependencyGraphEdge)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:29:40 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_settings/test_app02.py

        from docs_src.settings.app02 import main
    
        monkeypatch.setenv("ADMIN_EMAIL", "******@****.***")
        settings = main.get_settings()
        assert settings.app_name == "Awesome API"
        assert settings.items_per_user == 50
    
    
    @needs_pydanticv2
    def test_override_settings():
        from docs_src.settings.app02 import test_main
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 488 bytes
    - Viewed (0)
  5. gradle/dependency-management/agp-versions.properties

    # Generated - Update by running `./gradlew updateAgpVersions`
    latests=7.3.1,7.4.2,8.0.2,8.1.4,8.2.2,8.3.2,8.4.0,8.5.0-beta01
    nightlyBuildId=11829825
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 15:43:39 UTC 2024
    - 174 bytes
    - Viewed (0)
  6. src/internal/trace/testdata/tests/go122-fail-first-gen-first.test

    -- trace --
    Trace Go1.22
    EventBatch gen=1 m=0 time=0 size=5
    Frequency freq=15625000
    EventBatch gen=1 m=0 time=0 size=5
    GoCreate dt=0 new_g=1 new_stack=0 stack=0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 256 bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/noderesources/most_allocated_test.go

    			},
    			resources:      extendedResourceSet,
    			existingPods:   nil,
    			expectedScores: []framework.NodeScore{{Name: "node1", Score: 50}, {Name: "node2", Score: 50}},
    		},
    		{
    			// Honor extended resource if the pod requests.
    			// For both nodes: cpuScore and memScore are 50.
    			// In terms of extended resource score:
    			// - node1 get: 2 / 4 * 100 = 50
    			// - node2 get: 2 / 10 * 100 = 20
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 16K bytes
    - Viewed (0)
  8. pkg/kubectl/cmd/convert/convert_test.go

    				{
    					expected: "targetAverageUtilization: 50",
    				},
    			},
    		},
    		{
    			name:          "v2beta1 HPA to v1 HPA",
    			file:          "../../../../test/fixtures/pkg/kubectl/cmd/convert/v2beta1HPA.yaml",
    			outputVersion: "autoscaling/v1",
    			fields: []checkField{
    				{
    					expected: "apiVersion: autoscaling/v1",
    				},
    				{
    					expected: "targetCPUUtilizationPercentage: 50",
    				},
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 03:21:17 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/apis/flowcontrol/bootstrap/default_test.go

    			nominalSharesExpected:   40,
    			lendablePercentexpected: 50,
    		},
    		{
    			name:                    "workload-low",
    			nominalSharesExpected:   100,
    			lendablePercentexpected: 90,
    		},
    		{
    			name:                    "global-default",
    			nominalSharesExpected:   20,
    			lendablePercentexpected: 50,
    		},
    		{
    			name:                    "catch-all",
    			nominalSharesExpected:   5,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  10. docs_src/query_params_str_validations/tutorial004_py310.py

    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: str | None = Query(
            default=None, min_length=3, max_length=50, pattern="^fixedquery$"
        ),
    ):
        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
    - 335 bytes
    - Viewed (0)
Back to top