Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 1,467 for field3 (0.07 seconds)

  1. docs/en/docs/advanced/json-base64-bytes.md

    You can declare a Pydantic model with `bytes` fields, and then use `val_json_bytes` in the model config to tell it to use base64 to *validate* input JSON data, as part of that validation it will decode the base64 string into bytes.
    
    {* ../../docs_src/json_base64_bytes/tutorial001_py310.py ln[1:9,29:35] hl[9] *}
    
    If you check the `/docs`, they will show that the field `data` expects base64 encoded bytes:
    
    <div class="screenshot">
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  2. tests/test_compat.py

    from fastapi.testclient import TestClient
    from pydantic import BaseModel, ConfigDict
    from pydantic.fields import FieldInfo
    
    
    def test_model_field_default_required():
        from fastapi._compat import v2
    
        # For coverage
        field_info = FieldInfo(annotation=str)
        field = v2.ModelField(name="foo", field_info=field_info)
        assert field.default is Undefined
    
    
    def test_complex():
        app = FastAPI()
    
        @app.post("/")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  3. fastapi/utils.py

        return set(re.findall("{(.*?)}", path))
    
    
    _invalid_args_message = (
        "Invalid args for response field! Hint: "
        "check that {type_} is a valid Pydantic field type. "
        "If you are using a return type annotation that is not a valid Pydantic "
        "field (e.g. Union[Response, dict, None]) you can disable generating the "
        "response model from the type annotation with the path operation decorator "
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:41:21 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/entity/SearchRequestParams.java

            final String[] fields = getParamValueArray(request, "facet.field");
            final String[] queries = getParamValueArray(request, "facet.query");
            if (fields.length == 0 && queries.length == 0) {
                return null;
            }
            final FacetInfo facetInfo = new FacetInfo();
            facetInfo.field = fields;
            facetInfo.query = queries;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistActionTest.java

            assertTrue(messages.hasMessageOf("doc.title"), "Required field 'title' should have error at 'doc.title' property");
            assertTrue(messages.hasMessageOf("doc.role"), "Required field 'role' should have error at 'doc.role' property");
            assertTrue(messages.hasMessageOf("doc.boost"), "Required field 'boost' should have error at 'doc.boost' property");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:38:39 GMT 2026
    - 34.4K bytes
    - Click Count (0)
  6. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

            });
        }
    
        @Test
        void testInheritedFields() throws Exception {
            // Verify inherited fields are properly set
            assertEquals(0x10, msrpcShareGetInfo.getOpnum());
    
            // Test that the info field is properly initialized
            Field infoField = msrpcShareGetInfo.getClass().getSuperclass().getDeclaredField("info");
            infoField.setAccessible(true);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/Constants.java

        /** Mapping type for array fields. */
        public static final String MAPPING_TYPE_ARRAY = "array";
    
        /** Mapping type for string fields. */
        public static final String MAPPING_TYPE_STRING = "string";
    
        /** Mapping type for long fields. */
        public static final String MAPPING_TYPE_LONG = "long";
    
        /** Mapping type for double fields. */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 35.8K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/beans/FieldDesc.java

         * Returns the field.
         *
         * @return the field
         */
        Field getField();
    
        /**
         * Returns the field name.
         *
         * @return the field name
         */
        String getFieldName();
    
        /**
         * Returns the type of the field.
         *
         * @param <T>
         *            the type of the field
         * @return the type of the field
         */
        <T> Class<T> getFieldType();
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 4K bytes
    - Click Count (0)
  9. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResultData.java

        /**
         * Field name for ID.
         */
        public static final String ID = "id";
    
        /**
         * Field name for transformer name.
         */
        public static final String TRANSFORMER_NAME = "transformerName";
    
        /**
         * Field name for data.
         */
        public static final String DATA = "data";
    
        /**
         * Field name for encoding.
         */
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/joblog/EditForm.java

         * This is a required field indicating when the job began.
         */
        @Required
        public String startTime;
    
        /**
         * The timestamp when the job completed execution.
         * This field indicates when the job finished, if it has completed.
         */
        public String endTime;
    
        /**
         * Initializes the form with default null values.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.3K bytes
    - Click Count (0)
Back to Top