Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2271 - 2280 of 3,751 for toType (0.12 seconds)

  1. docs/fr/docs/tutorial/encoder.md

    # Encodeur compatible JSON { #json-compatible-encoder }
    
    Il existe des cas où vous pourriez avoir besoin de convertir un type de données (comme un modèle Pydantic) en quelque chose de compatible avec JSON (comme un `dict`, `list`, etc.).
    
    Par exemple, si vous devez le stocker dans une base de données.
    
    Pour cela, **FastAPI** fournit une fonction `jsonable_encoder()`.
    
    ## Utiliser `jsonable_encoder` { #using-the-jsonable-encoder }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  2. docs/tr/docs/advanced/advanced-python-types.md

    Python tipleriyle çalışırken işinize yarayabilecek bazı ek fikirler.
    
    ## `Union` veya `Optional` Kullanımı { #using-union-or-optional }
    
    Kodunuz herhangi bir nedenle `|` kullanamıyorsa — örneğin bir tip açıklamasında (type annotation) değil de `response_model=` gibi bir yerdeyse — dikey çizgi (`|`) yerine `typing` içindeki `Union`'ı kullanabilirsiniz.
    
    Örneğin, bir şeyin `str` ya da `None` olabileceğini şöyle belirtebilirsiniz:
    
    ```python
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 12:41:38 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  3. internal/event/targetid.go

    package event
    
    import (
    	"encoding/json"
    	"fmt"
    	"strings"
    )
    
    // TargetID - holds identification and name strings of notification target.
    type TargetID struct {
    	ID   string
    	Name string
    }
    
    // String - returns string representation.
    func (tid TargetID) String() string {
    	return tid.ID + ":" + tid.Name
    }
    
    // ToARN - converts to ARN.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.8K bytes
    - Click Count (0)
  4. internal/bucket/replication/and.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package replication
    
    import (
    	"encoding/xml"
    )
    
    // And - a tag to combine a prefix and multiple tags for replication configuration rule.
    type And struct {
    	XMLName xml.Name `xml:"And" json:"And"`
    	Prefix  string   `xml:"Prefix,omitempty" json:"Prefix,omitempty"`
    	Tags    []Tag    `xml:"Tag,omitempty" json:"Tag,omitempty"`
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.8K bytes
    - Click Count (0)
  5. internal/config/lambda/event/targetidset.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package event
    
    import "maps"
    
    // TargetIDSet - Set representation of TargetIDs.
    type TargetIDSet map[TargetID]struct{}
    
    // IsEmpty returns true if the set is empty.
    func (set TargetIDSet) IsEmpty() bool {
    	return len(set) != 0
    }
    
    // Clone - returns copy of this set.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/FileAuthenticationDbm.java

            return null;
        }
    
        // ===================================================================================
        //                                                                           Type Name
        //                                                                           =========
        @Override
        public String getEntityTypeName() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 27 07:01:25 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/crawler/FessCrawlerThreadTest.java

         * Test getAnchorSet with unsupported object type
         */
        @Test
        public void test_getAnchorSet_withUnsupportedType() {
            FessCrawlerThread crawlerThread = new FessCrawlerThread();
    
            Integer unsupportedType = 123;
    
            Set<RequestData> result = crawlerThread.getAnchorSet(unsupportedType);
            assertNull(result, "getAnchorSet should return null for unsupported type");
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 9.3K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/graph/ImmutableValueGraph.java

     * of the {@code Immutable*} types</a> for more information on the properties and guarantees
     * provided by this class.
     *
     * @author James Sexton
     * @author Jens Nyman
     * @param <N> Node parameter type
     * @param <V> Value parameter type
     * @since 20.0
     */
    @Immutable(containerOf = {"N", "V"})
    @SuppressWarnings("Immutable") // Extends StandardValueGraph but uses ImmutableMaps.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/primitives/SignedBytes.java

       */
      public static final byte MAX_POWER_OF_TWO = 1 << 6;
    
      /**
       * Returns the {@code byte} value that is equal to {@code value}, if possible.
       *
       * @param value any value in the range of the {@code byte} type
       * @return the {@code byte} value that equals {@code value}
       * @throws IllegalArgumentException if {@code value} is greater than {@link Byte#MAX_VALUE} or
       *     less than {@link Byte#MIN_VALUE}
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 7.2K bytes
    - Click Count (0)
  10. cmd/iam.go

    	"github.com/minio/pkg/v3/ldap"
    	"github.com/minio/pkg/v3/policy"
    	etcd "go.etcd.io/etcd/client/v3"
    	"golang.org/x/sync/singleflight"
    )
    
    // UsersSysType - defines the type of users and groups system that is
    // active on the server.
    type UsersSysType string
    
    // Types of users configured in the server.
    const (
    	// This mode uses the internal users system in MinIO.
    	MinIOUsersSysType UsersSysType = "MinIOUsersSys"
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 76.5K bytes
    - Click Count (0)
Back to Top