Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 7,721 for required (0.23 sec)

  1. tests/test_tutorial/test_request_files/test_tutorial003_py39.py

    @pytest.fixture(name="client")
    def get_client(app: FastAPI):
        client = TestClient(app)
        return client
    
    
    file_required = {
        "detail": [
            {
                "loc": ["body", "files"],
                "msg": "field required",
                "type": "value_error.missing",
            }
        ]
    }
    
    
    @needs_py39
    def test_post_files(tmp_path, app: FastAPI):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/webauth/EditForm.java

     */
    package org.codelibs.fess.app.web.admin.webauth;
    
    import org.lastaflute.web.validation.Required;
    import org.lastaflute.web.validation.theme.conversion.ValidateTypeFailure;
    
    import jakarta.validation.constraints.Size;
    
    /**
     * @author codelibs
     * @author Shunji Makino
     */
    public class EditForm extends CreateForm {
    
        @Required
        @Size(max = 1000)
        public String id;
    
        @Size(max = 255)
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/group/EditForm.java

     */
    package org.codelibs.fess.app.web.admin.group;
    
    import org.lastaflute.web.validation.Required;
    import org.lastaflute.web.validation.theme.conversion.ValidateTypeFailure;
    
    import jakarta.validation.constraints.Size;
    
    /**
     * @author Keiichi Watanabe
     */
    public class EditForm extends CreateForm {
    
        @Required
        @Size(max = 1000)
        public String id;
    
        @Size(max = 1000)
        public String updatedBy;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/pathmap/EditForm.java

     */
    package org.codelibs.fess.app.web.admin.pathmap;
    
    import org.lastaflute.web.validation.Required;
    import org.lastaflute.web.validation.theme.conversion.ValidateTypeFailure;
    
    import jakarta.validation.constraints.Size;
    
    /**
     * @author Keiichi Watanabe
     */
    public class EditForm extends CreateForm {
    
        @Required
        @Size(max = 1000)
        public String id;
    
        @Size(max = 1000)
        public String updatedBy;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/relatedcontent/EditForm.java

     */
    package org.codelibs.fess.app.web.admin.relatedcontent;
    
    import org.lastaflute.web.validation.Required;
    import org.lastaflute.web.validation.theme.conversion.ValidateTypeFailure;
    
    import jakarta.validation.constraints.Size;
    
    /**
     * @author shinsuke
     */
    public class EditForm extends CreateForm {
    
        @Required
        @Size(max = 1000)
        public String id;
    
        @Size(max = 1000)
        public String updatedBy;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/searchlog/EditForm.java

    import org.lastaflute.web.validation.Required;
    import org.lastaflute.web.validation.theme.conversion.ValidateTypeFailure;
    
    import jakarta.validation.constraints.Size;
    
    /**
     * @author shinsuke
     */
    public class EditForm {
    
        @ValidateTypeFailure
        public int crudMode;
    
        @Required
        @Size(max = 10)
        public String logType;
    
        @Required
        @Size(max = 1000)
        public String id;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/storage/TagForm.java

    import java.util.HashMap;
    import java.util.Map;
    
    import org.apache.logging.log4j.core.config.plugins.validation.constraints.Required;
    
    import jakarta.validation.constraints.Size;
    
    public class TagForm {
    
        @Required
        public String path;
    
        @Required
        @Size(max = 100)
        public String name;
    
        public Map<String, String> tags = new HashMap<>();
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/dataconfig/EditForm.java

     */
    package org.codelibs.fess.app.web.admin.dataconfig;
    
    import org.lastaflute.web.validation.Required;
    import org.lastaflute.web.validation.theme.conversion.ValidateTypeFailure;
    
    import jakarta.validation.constraints.Size;
    
    /**
     * @author Keiichi Watanabe
     */
    public class EditForm extends CreateForm {
    
        @Required
        @Size(max = 1000)
        public String id;
    
        @Size(max = 1000)
        public String updatedBy;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_schema_extra_example/test_tutorial004.py

    from dirty_equals import IsDict
    from fastapi.testclient import TestClient
    
    from docs_src.schema_extra_example.tutorial004 import app
    
    client = TestClient(app)
    
    
    # Test required and embedded body parameters with no bodies sent
    def test_post_body_example():
        response = client.put(
            "/items/5",
            json={
                "name": "Foo",
                "description": "A very nice Item",
                "price": 35.4,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_request_files/test_tutorial001_03.py

                                        "$ref": "#/components/schemas/Body_create_file_files__post"
                                    }
                                }
                            },
                            "required": True,
                        },
                        "responses": {
                            "200": {
                                "description": "Successful Response",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 6K bytes
    - Viewed (0)
Back to top