Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 321 - 330 of 4,168 for get (0.01 seconds)

  1. tests/test_ambiguous_params.py

                " default value with `=` instead."
            ),
        ):
    
            @app.get("/")
            async def get(item_id: Annotated[int, Query(default=1)]):
                pass  # pragma: nocover
    
    
    def test_multiple_annotations():
        async def dep():
            pass  # pragma: nocover
    
        @app.get("/multi-query")
        async def get(foo: Annotated[int, Query(gt=2), Query(lt=10)]):
            return foo
    
        with pytest.raises(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 2K bytes
    - Click Count (1)
  2. src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java

                this.capability |= Smb2ChannelCapabilities.NETWORK_INTERFACE_CAP_RSS;
            }
    
            // RDMA capability would require OS-specific detection
            this.rdmaCapable = false;
        }
    
        /**
         * Get the interface index
         *
         * @return interface index
         */
        public int getInterfaceIndex() {
            return interfaceIndex;
        }
    
        /**
         * Set the interface index
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/body.md

    Sending a body with a `GET` request has an undefined behavior in the specifications, nevertheless, it is supported by FastAPI, only for very complex/extreme use cases.
    
    As it is discouraged, the interactive docs with Swagger UI won't show the documentation for the body when using `GET`, and proxies in the middle might not support it.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/cache/ForwardingLoadingCache.java

      @Override
      protected abstract LoadingCache<K, V> delegate();
    
      @CanIgnoreReturnValue // TODO(b/27479612): consider removing this
      @Override
      public V get(K key) throws ExecutionException {
        return delegate().get(key);
      }
    
      @CanIgnoreReturnValue // TODO(b/27479612): consider removing this
      @Override
      public V getUnchecked(K key) {
        return delegate().getUnchecked(key);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 12:40:22 GMT 2026
    - 3K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/util/concurrent/ForwardingListenableFuture.java

     * <b>indiscriminately</b> to the methods of the delegate. For example, overriding {@link #get(long,
     * TimeUnit)} alone <b>will not</b> change the behavior of {@link #get()}, which can lead to
     * unexpected behavior. In this case, you should override {@code get()} as well.
     *
     * <p><b>{@code default} method warning:</b> This class does <i>not</i> forward calls to {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 14:39:00 GMT 2026
    - 3K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/entity/SearchRenderDataTest.java

            assertEquals(10, searchRenderData.getDocumentItems().size());
            assertEquals("Document 11", searchRenderData.getDocumentItems().get(0).get("title"));
            assertEquals("Document 20", searchRenderData.getDocumentItems().get(9).get("title"));
            assertEquals("complex search query", searchRenderData.getSearchQuery());
            assertEquals(150L, searchRenderData.getQueryTime());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 23.6K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb2/rdma/Smb2RdmaTransform.java

        }
    
        /**
         * Get buffer offset
         *
         * @return offset within registered buffer
         */
        public long getOffset() {
            return offset;
        }
    
        /**
         * Get RDMA token
         *
         * @return RDMA provider token
         */
        public int getToken() {
            return token;
        }
    
        /**
         * Get buffer length
         *
         * @return buffer length
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 3K bytes
    - Click Count (0)
  8. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateAgpVersions.kt

                latestAgpVersions.last()
            )
    
        private
        val List<String>.firstBaseVersion: String
            get() = VersionNumber.parse(first()).minorBaseVersion
    
        private
        val VersionNumber.minorBaseVersion: String
            get() = "$major.$minor"
    
        private
        fun fetchLatests(currentGradleVersion: GradleVersion, minimumSupported: String?, mavenMetadataUrl: String): List<String> {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Oct 24 09:10:29 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Request.java

        }
    
        @Override
        public byte[] getName() {
            return CONTEXT_NAME_BYTES;
        }
    
        /**
         * Get the create GUID for this request
         * @return the create GUID
         */
        public HandleGuid getCreateGuid() {
            return createGuid;
        }
    
        /**
         * Get the timeout value in milliseconds
         * @return the timeout in milliseconds
         */
        public long getTimeoutMs() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  10. tests/test_request_params/test_query/test_required_str.py

    app = FastAPI()
    
    # =====================================================================================
    # Without aliases
    
    
    @app.get("/required-str")
    async def read_required_str(p: str):
        return {"p": p}
    
    
    class QueryModelRequiredStr(BaseModel):
        p: str
    
    
    @app.get("/model-required-str")
    async def read_model_required_str(p: Annotated[QueryModelRequiredStr, Query()]):
        return {"p": p.p}
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 10.2K bytes
    - Click Count (0)
Back to Top