Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 801 - 810 of 2,199 for gets (0.03 seconds)

  1. tests/test_invalid_path_param.py

            class Item(BaseModel):
                title: str
    
            @app.get("/items/{id}")
            def read_items(id: list[Item]):
                pass  # pragma: no cover
    
    
    def test_invalid_tuple():
        with pytest.raises(AssertionError):
            app = FastAPI()
    
            class Item(BaseModel):
                title: str
    
            @app.get("/items/{id}")
            def read_items(id: tuple[Item, Item]):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/SortedIterablesTest.java

      public void testSameComparator() {
        assertTrue(SortedIterables.hasSameComparator(Ordering.natural(), Sets.newTreeSet()));
        assertTrue(SortedIterables.hasSameComparator(Ordering.natural(), Maps.newTreeMap().keySet()));
        assertTrue(
            SortedIterables.hasSameComparator(
                Ordering.natural().reverse(), Sets.newTreeSet(Ordering.natural().reverse())));
      }
    
      public void testComparator() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  3. tests/test_tutorial/test_path_operation_configurations/test_tutorial002b.py

    
    def test_get_items():
        response = client.get("/items/")
        assert response.status_code == 200, response.text
        assert response.json() == ["Portal gun", "Plumbus"]
    
    
    def test_get_users():
        response = client.get("/users/")
        assert response.status_code == 200, response.text
        assert response.json() == ["Rick", "Morty"]
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsDataConfigBhv.java

                result.setAvailable(DfTypeUtil.toBoolean(source.get("available")));
                result.setBoost(DfTypeUtil.toFloat(source.get("boost")));
                result.setCreatedBy(DfTypeUtil.toString(source.get("createdBy")));
                result.setCreatedTime(DfTypeUtil.toLong(source.get("createdTime")));
                result.setDescription(DfTypeUtil.toString(source.get("description")));
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  5. tests/test_security_http_basic_realm_description.py

    security = HTTPBasic(realm="simple", description="HTTPBasic scheme")
    
    
    @app.get("/users/me")
    def read_current_user(credentials: HTTPBasicCredentials = Security(security)):
        return {"username": credentials.username, "password": credentials.password}
    
    
    client = TestClient(app)
    
    
    def test_security_http_basic():
        response = client.get("/users/me", auth=("john", "secret"))
        assert response.status_code == 200, response.text
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 24 19:03:06 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java

            assertEquals("file1.txt", notifications.get(0).getFileName());
            assertEquals(FileNotifyInformation.FILE_ACTION_ADDED, notifications.get(0).getAction());
    
            // Verify second notification
            assertEquals("file2.txt", notifications.get(1).getFileName());
            assertEquals(FileNotifyInformation.FILE_ACTION_REMOVED, notifications.get(1).getAction());
    
            // Verify third notification
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/misc/Tuple5.java

        /**
         * Sets the fourth value.
         *
         * @param value4
         *            The fourth value
         */
        public void setValue4(final T4 value4) {
            this.value4 = value4;
        }
    
        /**
         * Returns the fifth value.
         *
         * @return The fifth value
         */
        public T5 getValue5() {
            return value5;
        }
    
        /**
         * Sets the fifth value.
         *
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  8. docs/es/docs/deployment/https.md

    * Traefik (que también puede manejar la renovación de certificados)
    * Caddy (que también puede manejar la renovación de certificados)
    * Nginx
    * HAProxy
    
    ## Let's Encrypt { #lets-encrypt }
    
    Antes de Let's Encrypt, estos **certificados HTTPS** eran vendidos por terceros.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java

        }
    
        /**
         * Sets the file information class for the directory query
         *
         * @param fileInformationClass
         *            the fileInformationClass to set
         */
        public void setFileInformationClass(final byte fileInformationClass) {
            this.fileInformationClass = fileInformationClass;
        }
    
        /**
         * Sets the query flags for the directory enumeration
         *
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  10. tests/test_top_level_security_scheme_in_openapi.py

    from inline_snapshot import snapshot
    
    app = FastAPI()
    
    bearer_scheme = HTTPBearer()
    
    
    @app.get("/", dependencies=[Depends(bearer_scheme)])
    async def get_root():
        return {"message": "Hello, World!"}
    
    
    client = TestClient(app)
    
    
    def test_get_root():
        response = client.get("/", headers={"Authorization": "Bearer token"})
        assert response.status_code == 200, response.text
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 24 19:03:06 GMT 2025
    - 1.9K bytes
    - Click Count (0)
Back to Top