Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3881 - 3890 of 4,515 for fromP2 (0.07 seconds)

  1. .github/DISCUSSION_TEMPLATE/questions.yml

            If I (or someone) can copy it, run it, and see it right away, there's a much higher chance I (or someone) will be able to help you.
    
          placeholder: |
            from fastapi import FastAPI
    
            app = FastAPI()
    
    
            @app.get("/")
            def read_root():
                return {"Hello": "World"}
          render: python
        validations:
          required: true
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Aug 03 15:59:41 GMT 2023
    - 5.8K bytes
    - Click Count (0)
  2. docs/es/docs/advanced/websockets.md

    En tu aplicación de **FastAPI**, crea un `websocket`:
    
    {* ../../docs_src/websockets/tutorial001_py39.py hl[1,46:47] *}
    
    /// note | Detalles Técnicos
    
    También podrías usar `from starlette.websockets import WebSocket`.
    
    **FastAPI** proporciona el mismo `WebSocket` directamente solo como una conveniencia para ti, el desarrollador. Pero viene directamente de Starlette.
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  3. docs/ja/docs/advanced/response-directly.md

    このようなケースでは、レスポンスにデータを含める前に `jsonable_encoder` を使ってデータを変換できます。
    
    {* ../../docs_src/response_directly/tutorial001.py hl[6:7,21:22] *}
    
    /// note | 技術詳細
    
    また、`from starlette.responses import JSONResponse` も利用できます。
    
    **FastAPI** は開発者の利便性のために `fastapi.responses` という `starlette.responses` と同じものを提供しています。しかし、利用可能なレスポンスのほとんどはStarletteから直接提供されます。
    
    ///
    
    ## カスタム `Response` を返す
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

         */
        public void handleLeaseBreak(Smb2LeaseKey key, int newState) {
            LeaseEntry entry = leases.get(key);
            if (entry != null) {
                log.info("Handling lease break for {} from state 0x{} to 0x{}", key, Integer.toHexString(entry.getLeaseState()),
                        Integer.toHexString(newState));
    
                entry.setBreaking(true);
                int oldState = entry.getLeaseState();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

        // ambiguous without the call to .booleanValue to unbox the Boolean
        checkState(boxedBoolean.booleanValue(), "", 1);
        // ambiguous without the cast to Object because the boxed predicate prevents any overload from
        // being selected in phase 1
        checkState(boxedBoolean, "", (Object) boxedLong);
    
        // ternaries introduce their own problems. because of the ternary (which requires a boxing
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 19K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        assertThat(keySet).containsExactly(1, 2, 3, 4, 5, 6, 7, 8, 9);
    
        // get doesn't stop 1 from expiring
        getAll(cache, asList(0, 1, 2));
        CacheTesting.drainRecencyQueues(cache);
        ticker.advance(1, MILLISECONDS);
        assertThat(keySet).containsExactly(2, 3, 4, 5, 6, 7, 8, 9, 0);
    
        // get(K, Callable) doesn't stop 2 from expiring
        Integer unused = cache.get(2, Callables.returning(-2));
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 19.2K bytes
    - Click Count (0)
  7. cmd/object-api-options.go

    	}
    	if crypto.S3.IsRequested(header) || (metadata != nil && crypto.S3.IsEncrypted(metadata)) {
    		opts.ServerSideEncryption = encrypt.NewSSE()
    	}
    
    	return opts, err
    }
    
    // get ObjectOptions for GET calls from encryption headers
    func getOpts(ctx context.Context, r *http.Request, bucket, object string) (ObjectOptions, error) {
    	var opts ObjectOptions
    
    	var partNumber int
    	var err error
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/pager/CrawlingInfoPager.java

         */
        public void setPageNumberList(final List<Integer> pageNumberList) {
            this.pageNumberList = pageNumberList;
        }
    
        /**
         * Gets the default page size from the Fess configuration.
         *
         * @return the default page size configured in the system
         */
        protected int getDefaultPageSize() {
            return ComponentUtil.getFessConfig().getPagingPageSizeAsInteger();
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/pager/FailureUrlPager.java

         */
        public void setPageNumberList(final List<Integer> pageNumberList) {
            this.pageNumberList = pageNumberList;
        }
    
        /**
         * Gets the default page size from the Fess configuration.
         *
         * @return the default page size
         */
        protected int getDefaultPageSize() {
            return ComponentUtil.getFessConfig().getPagingPageSizeAsInteger();
        }
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/curl/CurlResponse.java

    import java.util.List;
    import java.util.Locale;
    import java.util.Map;
    import java.util.function.Function;
    
    import org.codelibs.curl.io.ContentCache;
    
    /**
     * The CurlResponse class represents the response from a cURL request.
     * It implements the Closeable interface to allow proper resource management.
     */
    public class CurlResponse implements Closeable {
    
        /**
         * Constructs a new CurlResponse.
         */
    Created: Sat Dec 20 09:13:53 GMT 2025
    - Last Modified: Mon Nov 24 03:10:07 GMT 2025
    - 7K bytes
    - Click Count (0)
Back to Top