Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 3,834 for type (0.31 seconds)

  1. docs/en/docs/tutorial/response-model.md

    You can declare the type used for the response by annotating the *path operation function* **return type**.
    
    You can use **type annotations** the same way you would for input data in function **parameters**, you can use Pydantic models, lists, dictionaries, scalar values like integers, booleans, etc.
    
    {* ../../docs_src/response_model/tutorial001_01_py310.py hl[16,21] *}
    
    FastAPI will use this return type to:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 15.5K bytes
    - Click Count (0)
  2. src/main/java/jcifs/pac/ASN1Util.java

        /**
         * Casts an object to the specified type with type checking
         * @param <T> the target type
         * @param type the target class type
         * @param object the object to cast
         * @return object cast to type
         * @throws PACDecodingException if types are incompatible
         */
        public static <T> T as(final Class<T> type, final Object object) throws PACDecodingException {
            if (!type.isInstance(object)) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  3. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterService.java

        }
    
        /**
         * Creates a new instance of OpenSearchUrlFilterService.
         * @param name The name.
         * @param type The type.
         */
        public OpenSearchUrlFilterService(final String name, final String type) {
            index = name + "." + type;
        }
    
        /**
         * Initializes the service.
         */
        @PostConstruct
        public void init() {
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Nov 20 08:40:57 GMT 2025
    - 9K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Resolution.java

     * field, the injected field type and the {@link #requestType()}.
     * <p>
     * If the {@code requestType} is not set explicitly, it will be inferred
     * from the {@code pathScope} and the injected field type. If the type
     * is {@link org.apache.maven.api.Node Node} and {@code pathScope == ""},
     * then the dependencies will be <i>collected</i>.
     * If the type is {@link org.apache.maven.api.Node Node} or
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Jun 11 07:23:04 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  5. tests/test_tutorial/test_body_nested_models/test_tutorial005.py

                            "required": ["loc", "msg", "type"],
                            "type": "object",
                            "properties": {
                                "loc": {
                                    "title": "Location",
                                    "type": "array",
                                    "items": {
                                        "anyOf": [{"type": "string"}, {"type": "integer"}]
                                    },
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  6. api/go1.19.txt

    pkg go/doc/comment, type DocLink struct, Name string #51082
    pkg go/doc/comment, type DocLink struct, Recv string #51082
    pkg go/doc/comment, type DocLink struct, Text []Text #51082
    pkg go/doc/comment, type Heading struct #51082
    pkg go/doc/comment, type Heading struct, Text []Text #51082
    pkg go/doc/comment, type Italic string #51082
    pkg go/doc/comment, type Link struct #51082
    pkg go/doc/comment, type Link struct, Auto bool #51082
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 17.9K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/artifact/factory/ArtifactFactory.java

        Artifact createArtifact(String groupId, String artifactId, String version, String scope, String type);
    
        Artifact createArtifactWithClassifier(
                String groupId, String artifactId, String version, String type, String classifier);
    
        Artifact createDependencyArtifact(
                String groupId, String artifactId, VersionRange versionRange, String type, String classifier, String scope);
    
        Artifact createDependencyArtifact(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  8. doc/go_spec.html

    </p>
    
    <h2 id="Types">Types</h2>
    
    <p>
    A type determines a set of values together with operations and methods specific
    to those values. A type may be denoted by a <i>type name</i>, if it has one, which must be
    followed by <a href="#Instantiations">type arguments</a> if the type is generic.
    A type may also be specified using a <i>type literal</i>, which composes a type
    from existing types.
    </p>
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Apr 01 23:39:18 GMT 2026
    - 287.8K bytes
    - Click Count (1)
  9. tests/test_dependency_overrides.py

        return msg
    
    
    def test_main_depends():
        response = client.get("/main-depends/")
        assert response.status_code == 422
        assert response.json() == {
            "detail": [
                {
                    "type": "missing",
                    "loc": ["query", "q"],
                    "msg": "Field required",
                    "input": None,
                }
            ]
        }
    
    
    def test_main_depends_q_foo():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt

            streamId = streamId,
            length = 4,
            type = TYPE_WINDOW_UPDATE,
            flags = FLAG_NONE,
          )
          sink.writeInt(windowSizeIncrement.toInt())
          sink.flush()
        }
      }
    
      @Throws(IOException::class)
      fun frameHeader(
        streamId: Int,
        length: Int,
        type: Int,
        flags: Int,
      ) {
        if (type != TYPE_WINDOW_UPDATE && logger.isLoggable(FINE)) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed May 28 23:28:25 GMT 2025
    - 11K bytes
    - Click Count (0)
Back to Top