Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 451 - 460 of 2,114 for get (0.01 seconds)

  1. tests/test_tutorial/test_path_params/test_tutorial001.py

            ("alice", {"item_id": "alice"}),
        ],
    )
    def test_get_items(item_id, expected_response):
        response = client.get(f"/items/{item_id}")
        assert response.status_code == 200, response.text
        assert response.json() == expected_response
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  2. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/transforms/Minify.kt

        override fun transform(outputs: TransformOutputs) {
            val fileName = artifact.get().asFile.name
            val artifactName = extractArtifactName(fileName)
            val classesFilter = keepClassesByArtifacts[artifactName]
            if (classesFilter != null) {
                val nameWithoutExtension = Files.getNameWithoutExtension(fileName)
                minify(artifact.get().asFile, classesFilter, outputs.file("$nameWithoutExtension-min.jar"))
            } else {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 18 11:46:45 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBadMultiLangSnippets.java

                .filter(s -> s.lang != Language.UNKNOWN)
                .limit(2)
                .toList();
    
            if (pair.size() == 2 &&
                pair.get(0).lang == Language.GROOVY &&
                pair.get(1).lang == Language.KOTLIN) {
                addError(errors, file, new Error(pair.get(0).line,
                    "Reversed order: found Groovy first then Kotlin. Expected Kotlin first then Groovy."));
            }
        }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Aug 29 10:12:17 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  4. tests/test_tutorial/test_query_params/test_tutorial003.py

            ),
        ],
    )
    def test_read_user_item(client: TestClient, path, expected_json):
        response = client.get(path)
        assert response.status_code == 200
        assert response.json() == expected_json
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200
        assert response.json() == {
            "openapi": "3.1.0",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  5. internal/config/subnet/config.go

    	}
    
    	var proxyURL *xnet.URL
    	proxy := env.Get(config.EnvMinIOSubnetProxy, kvs.Get(config.Proxy))
    	if len(proxy) > 0 {
    		proxyURL, err = xnet.ParseHTTPURL(proxy)
    		if err != nil {
    			return cfg, err
    		}
    	}
    
    	cfg.License = strings.TrimSpace(env.Get(config.EnvMinIOSubnetLicense, kvs.Get(config.License)))
    	cfg.APIKey = strings.TrimSpace(env.Get(config.EnvMinIOSubnetAPIKey, kvs.Get(config.APIKey)))
    	cfg.Proxy = proxy
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/CommonsCliUpgradeOptions.java

                        .get());
                options.addOption(Option.builder(DIRECTORY)
                        .longOpt("directory")
                        .hasArg()
                        .argName("path")
                        .desc("Directory to use as starting point for POM discovery")
                        .get());
                options.addOption(Option.builder(INFER)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:48:39 GMT 2025
    - 7K bytes
    - Click Count (0)
  7. tests/test_param_class.py

    from fastapi.params import Param
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.get("/items/")
    def read_items(q: Optional[str] = Param(default=None)):  # type: ignore
        return {"q": q}
    
    
    client = TestClient(app)
    
    
    def test_default_param_query_none():
        response = client.get("/items/")
        assert response.status_code == 200, response.text
        assert response.json() == {"q": None}
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri May 13 23:38:22 GMT 2022
    - 636 bytes
    - Click Count (0)
  8. tests/test_tutorial/test_events/test_tutorial001.py

    
    def test_events(app: FastAPI):
        with TestClient(app) as client:
            response = client.get("/items/foo")
            assert response.status_code == 200, response.text
            assert response.json() == {"name": "Fighters"}
    
    
    def test_openapi_schema(app: FastAPI):
        with TestClient(app) as client:
            response = client.get("/openapi.json")
            assert response.status_code == 200, response.text
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  9. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/provider/BuildTimestampFromBuildReceiptValueSource.kt

                when {
                    parameters.ignoreIncomingBuildReceipt.get() -> "$it (ignored)"
                    else -> it
                }
            }
    
        private
        fun Parameters.buildReceiptString(): String? = when {
            ignoreIncomingBuildReceipt.get() -> null
            else -> buildReceiptFileContents.orNull
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 1.9K bytes
    - Click Count (0)
  10. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/model/GradleDistribution.kt

        val staticContent: FileCollection
            get() = homeDir.asFileTree.matching {
                exclude("lib/**")
                exclude("src/**")
                exclude("docs/**")
                exclude("README")
                exclude("getting-started.html")
            }
    
        @get:Classpath
        val coreJars: FileCollection
            get() = homeDir.asFileTree.matching {
                include("lib/*.jar")
            }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Aug 18 18:02:41 GMT 2025
    - 2.1K bytes
    - Click Count (0)
Back to Top