Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 408 for compatible (0.14 sec)

  1. docs/en/docs/tutorial/encoder.md

    # JSON Compatible Encoder
    
    There are some cases where you might need to convert a data type (like a Pydantic model) to something compatible with JSON (like a `dict`, `list`, etc).
    
    For example, if you need to store it in a database.
    
    For that, **FastAPI** provides a `jsonable_encoder()` function.
    
    ## Using the `jsonable_encoder`
    
    Let's imagine that you have a database `fake_db` that only receives JSON compatible data.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 23:31:16 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/UpgradedPropertiesChangesTest.kt

                assertHasAccepted(
                    "Method com.example.Task.getSourceCompatibility(): Is not binary compatible. Reason for accepting this: Upgraded property" to listOf("Method return type has changed", "Method is now abstract"),
                    "Method com.example.Task.setSourceCompatibility(java.lang.String): Is not binary compatible. Reason for accepting this: Upgraded property" to listOf("Method has been removed"),
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 02 14:20:08 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  3. ci/official/containers/ml_build/builder.devtoolset/build_devtoolset.sh

    devtoolset-7)
      LIBSTDCXX_VERSION="6.0.24"
      LIBSTDCXX_ABI="gcc4-compatible"
      ;;
    devtoolset-9)
      LIBSTDCXX_VERSION="6.0.28"
      LIBSTDCXX_ABI="new"
      ;;
    *)
      echo "Usage: $0 {devtoolset-7|devtoolset-9} <target-directory>"
      echo "Use 'devtoolset-7' to build a manylinux2010 compatible toolchain or 'devtoolset-9' to build a manylinux2014 compatible toolchain"
      exit 1
      ;;
    esac
    
    mkdir -p "${TARGET}"
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Sep 24 20:45:58 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. docs/metrics/prometheus/README.md

    ## List of metrics exposed by MinIO
    
    - MinIO exports Prometheus compatible data by default as an authorized endpoint at `/minio/v2/metrics/cluster`. 
    - MinIO exports Prometheus compatible data by default which is bucket centric as an authorized endpoint at `/minio/v2/metrics/bucket`.
    - MinIO exports Prometheus compatible data by default which is node centric as an authorized endpoint at `/minio/v2/metrics/node`.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 12 15:49:30 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. docs/fr/docs/deployment/manually.md

    compatibles avec <a href="https://docs.python.org/3/library/asyncio-task.html" class="external-link" target="_blank">asyncio</a>, de la bibliothèque standard Python et
    <a href="https://trio.readthedocs.io/en/stable/" class="external-link" target="_blank">Trio</a>.
    
    NĂ©anmoins, Uvicorn n'est actuellement compatible qu'avec asyncio, et il utilise normalement <a href="https://github.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/response-directly.md

    By default, **FastAPI** would automatically convert that return value to JSON using the `jsonable_encoder` explained in [JSON Compatible Encoder](../tutorial/encoder.md){.internal-link target=_blank}.
    
    Then, behind the scenes, it would put that JSON-compatible data (e.g. a `dict`) inside of a `JSONResponse` that would be used to send the response to the client.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. fastapi/datastructures.py

            Any next read or write will be done from that position.
    
            To be awaitable, compatible with async, this is run in threadpool.
            """
            return await super().seek(offset)
    
        async def close(self) -> None:
            """
            Close the file.
    
            To be awaitable, compatible with async, this is run in threadpool.
            """
            return await super().close()
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. internal/etag/etag.go

    //
    // An AWS S3 ETag is 16 bytes long and, in case of a multipart
    // upload, has a `-N` suffix encoding the number of object parts.
    // An ETag is not AWS S3 compatible when encrypted. When sending
    // an ETag back to an S3 client it has to be formatted to be
    // AWS S3 compatible.
    //
    // Therefore, Format returns the last 16 bytes of an encrypted
    // ETag.
    //
    // In general, a caller has to distinguish the following cases:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 10 21:09:36 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/Language.java

    @SuppressWarnings("checkstyle:InterfaceIsType")
    public interface Language extends ExtensibleEnum {
    
        /**
         * The "none" language. It is not versioned, family is same to itself, and compatible with itself only.
         * In turn, every {@link Language} implementation must be compatible with {@code NONE} language.
         */
        Language NONE = language("none");
    
        // TODO: this should be moved out from here to Java Support (builtin into core)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Feb 05 09:42:51 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/UserAgentHelperTest.java

            getMockRequest().addHeader("user-agent", "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.0; Trident/5.0)");
            assertEquals(UserAgentType.IE, userAgentHelper.getUserAgentType());
        }
    
        public void test_getUserAgentType_IE10() {
            getMockRequest().addHeader("user-agent", "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0)");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top