Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1201 - 1210 of 4,245 for get3 (0.08 seconds)

  1. tests/test_pydanticv2_dataclasses_uuid_stringified_annotations.py

    
    app = FastAPI()
    
    
    @app.get("/item", response_model=Item)
    async def read_item():
        return {
            "id": uuid.uuid4(),
            "name": "Island In The Moon",
            "price": 12.99,
            "description": "A place to be be playin' and havin' fun",
            "tags": ["breater"],
        }
    
    
    client = TestClient(app)
    
    
    def test_annotations():
        response = client.get("/item")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  2. docs_src/dependencies/tutorial012_an_py39.py

        return x_key
    
    
    app = FastAPI(dependencies=[Depends(verify_token), Depends(verify_key)])
    
    
    @app.get("/items/")
    async def read_items():
        return [{"item": "Portal Gun"}, {"item": "Plumbus"}]
    
    
    @app.get("/users/")
    async def read_users():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 746 bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringSearchModelInterpolator.java

                    @SuppressWarnings("unchecked")
                    List<Object> c = (List<Object>) field.get(target);
                    if (c == null) {
                        return;
                    }
    
                    for (int i = 0, size = c.size(); i < size; i++) {
                        Object value = c.get(i);
    
                        if (value != null) {
                            if (String.class == value.getClass()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  4. src/main/java/jcifs/pac/PacSignature.java

                throw new PACDecodingException("Malformed PAC signature", e);
            }
        }
    
        /**
         * Gets the checksum type of this signature.
         *
         * @return the checksum type constant
         */
        public int getType() {
            return this.type;
        }
    
        /**
         * Gets the checksum data.
         *
         * @return the checksum bytes
         */
        public byte[] getChecksum() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/util/DocList.java

         */
        @Override
        public void clear() {
            super.clear();
            contentSize = 0;
            processingTime = 0;
        }
    
        /**
         * Gets the total content size of all documents in this list.
         *
         * @return the total content size in bytes
         */
        public long getContentSize() {
            return contentSize;
        }
    
        /**
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  6. tests/test_tutorial/test_dependencies/test_tutorial011.py

            ),
        ],
    )
    def test_get(path, expected_status, expected_response, client: TestClient):
        response = client.get(path)
        assert response.status_code == expected_status
        assert response.json() == expected_response
    
    
    def test_openapi_schema(client: TestClient):
        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)
  7. buildSrc/src/main/kotlin/Osgi.kt

      }
    }
    
    val Project.sourceSets: SourceSetContainer
      get() = (this as ExtensionAware).extensions["sourceSets"] as SourceSetContainer
    
    private val Project.kotlinOsgi: MinimalExternalModuleDependency
      get() =
        extensions
          .getByType(VersionCatalogsExtension::class.java)
          .named("libs")
          .findLibrary("kotlin.stdlib.osgi")
          .get()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Aug 01 08:06:31 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginDescriptorCache.java

        }
    
        @Override
        public PluginDescriptor get(Key cacheKey) {
            return clone(descriptors.get(cacheKey));
        }
    
        @Override
        public PluginDescriptor get(Key key, PluginDescriptorSupplier supplier)
                throws PluginDescriptorParsingException, PluginResolutionException, InvalidPluginDescriptorException {
    
            PluginDescriptor desc = descriptors.get(key);
            if (desc == null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/MapsTest.java

        result = Maps.fromProperties(testProp);
        assertEquals(4, result.size());
        assertEquals("true", result.get("first"));
        assertEquals("", result.get("test"));
        assertEquals("2", result.get("second"));
        assertEquals("item :   a short  phrase   ", result.get("Third"));
        assertFalse(result.containsKey("not here"));
    
        // Test loading system properties
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 22:56:33 GMT 2025
    - 62.7K bytes
    - Click Count (0)
  10. tests/test_router_events.py

        app = FastAPI(lifespan=lifespan)
    
        @app.get("/")
        def main() -> dict[str, str]:
            return {"message": "Hello World"}
    
        assert state.app_startup is False
        assert state.app_shutdown is False
        with TestClient(app) as client:
            assert state.app_startup is True
            assert state.app_shutdown is False
            response = client.get("/")
            assert response.status_code == 200, response.text
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 7.3K bytes
    - Click Count (0)
Back to Top