Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 2,058 for toObject (0.16 sec)

  1. src/main/java/org/codelibs/fess/util/DocumentUtil.java

        }
    
        public static <T> T getValue(final Map<String, Object> doc, final String key, final Class<T> clazz, final T defaultValue) {
            final T value = getValue(doc, key, clazz);
            if (value == null) {
                return defaultValue;
            }
            return value;
        }
    
        @SuppressWarnings("unchecked")
        public static <T> T getValue(final Map<String, Object> doc, final String key, final Class<T> clazz) {
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. tests/test_annotated.py

    async def required(foo: Annotated[str, Query(min_length=1)]):
        return {"foo": foo}
    
    
    @app.get("/multiple")
    async def multiple(foo: Annotated[str, object(), Query(min_length=1)]):
        return {"foo": foo}
    
    
    @app.get("/unrelated")
    async def unrelated(foo: Annotated[str, object()]):
        return {"foo": foo}
    
    
    client = TestClient(app)
    
    foo_is_missing = {
        "detail": [
            IsDict(
                {
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/TypeMetaData.java

     */
    public class TypeMetaData implements Serializable, TypeContainer {
        public static final TypeMetaData VOID = new TypeMetaData("void");
        public static final TypeMetaData OBJECT = new TypeMetaData("java.lang.Object");
    
        private String name;
        private int arrayDimensions;
        private boolean varargs;
        private List<TypeMetaData> typeArgs;
        private boolean wildcard;
        private TypeMetaData upperBounds;
    Registered: Wed Oct 30 11:36:09 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.1K bytes
    - Viewed (0)
  4. docs/en/docs/js/termynal.js

            return new Promise(resolve => setTimeout(resolve, time));
        }
    
        /**
         * Converts line data objects into line elements.
         *
         * @param {Object[]} lineData - Dynamically loaded lines.
         * @param {Object} line - Line data object.
         * @returns {Element[]} - Array of line elements.
         */
        lineDataToElements(lineData) {
            return lineData.map(line => {
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Thu May 12 00:06:16 UTC 2022
    - 9.3K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_openapi_callbacks/test_tutorial001.py

                        "required": ["ok"],
                        "type": "object",
                        "properties": {"ok": {"title": "Ok", "type": "boolean"}},
                    },
                    "ValidationError": {
                        "title": "ValidationError",
                        "required": ["loc", "msg", "type"],
                        "type": "object",
                        "properties": {
                            "loc": {
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractBehavior.java

            if (str == null) {
                return null;
            }
            return new String[] { str };
        }
    
        protected LocalDateTime toLocalDateTime(Object value) {
            return DfTypeUtil.toLocalDateTime(value);
        }
    
        protected Date toDate(Object value) {
            return DfTypeUtil.toDate(value);
        }
    
        protected SearchHits getSearchHits(final SearchResponse response) {
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractBehavior.java

            if (str == null) {
                return null;
            }
            return new String[] { str };
        }
    
        protected LocalDateTime toLocalDateTime(Object value) {
            return DfTypeUtil.toLocalDateTime(value);
        }
    
        protected Date toDate(Object value) {
            return DfTypeUtil.toDate(value);
        }
    
        protected SearchHits getSearchHits(final SearchResponse response) {
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  8. tests/test_union_inherited_body.py

                        },
                    }
                }
            },
            "components": {
                "schemas": {
                    "Item": {
                        "title": "Item",
                        "type": "object",
                        "properties": {
                            "name": IsDict(
                                {
                                    "title": "Name",
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/it/admin/KeyMatchTests.java

        }
    
        @Override
        protected String getItemEndpointSuffix() {
            return ITEM_ENDPOINT_SUFFIX;
        }
    
        @Override
        protected Map<String, Object> createTestParam(int id) {
            final Map<String, Object> requestBody = new HashMap<>();
            final String keyProp = NAME_PREFIX + id;
            requestBody.put(KEY_PROPERTY, keyProp);
            requestBody.put(KEY_PROPERTY, keyProp);
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_request_files/test_tutorial003_an.py

    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 7.1K bytes
    - Viewed (0)
Back to top