Search Options

Results per page
Sort
Preferred Languages
Advance

Results 721 - 730 of 1,315 for myfield (0.03 sec)

  1. internal/config/config_test.go

    			if len(gotFields) != len(test.expectedFields) {
    				t.Errorf("Expected keys %d, found %d", len(test.expectedFields), len(gotFields))
    			}
    			found := true
    			for _, field := range gotFields {
    				_, ok := test.expectedFields[field]
    				found = found && ok
    			}
    			if !found {
    				t.Errorf("Expected %s, got %s", test.expectedFields, gotFields)
    			}
    		})
    	}
    }
    
    func TestValidRegion(t *testing.T) {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. docs_src/dependencies/tutorial008d_py39.py

    from fastapi import Depends, FastAPI, HTTPException
    
    app = FastAPI()
    
    
    class InternalError(Exception):
        pass
    
    
    def get_username():
        try:
            yield "Rick"
        except InternalError:
            print("We don't swallow the internal error here, we raise again 😎")
            raise
    
    
    @app.get("/items/{item_id}")
    def get_item(item_id: str, username: str = Depends(get_username)):
        if item_id == "portal-gun":
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 694 bytes
    - Viewed (0)
  3. tests/test_openapi_schema_type.py

            None,
        ],
    )
    def test_allowed_schema_type(
        type_value: Optional[Union[SchemaType, list[SchemaType]]],
    ) -> None:
        """Test that Schema accepts SchemaType, List[SchemaType] and None for type field."""
        schema = Schema(type=type_value)
        assert schema.type == type_value
    
    
    def test_invalid_type_value() -> None:
        """Test that Schema raises ValueError for invalid type values."""
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 730 bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/dataconfig/CreateBody.java

    package org.codelibs.fess.app.web.api.admin.dataconfig;
    
    import org.codelibs.fess.app.web.admin.dataconfig.CreateForm;
    
    /**
     * Request body for creating data config via REST API.
     * Extends CreateForm to inherit validation and field definitions.
     */
    public class CreateBody extends CreateForm {
    
        /**
         * Creates a new CreateBody instance.
         */
        public CreateBody() {
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1010 bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/scheduler/CreateBody.java

    package org.codelibs.fess.app.web.api.admin.scheduler;
    
    import org.codelibs.fess.app.web.admin.scheduler.CreateForm;
    
    /**
     * Request body for creating scheduler via REST API.
     * Extends CreateForm to inherit validation and field definitions.
     */
    public class CreateBody extends CreateForm {
    
        /**
         * Creates a new CreateBody instance.
         */
        public CreateBody() {
        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1005 bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/dict/stemmeroverride/CreateBody.java

    import org.codelibs.fess.app.web.admin.dict.stemmeroverride.CreateForm;
    
    /**
     * Request body for creating stemmer override dictionary via REST API.
     * Extends CreateForm to inherit validation and field definitions.
     */
    public class CreateBody extends CreateForm {
    
        /**
         * Creates a new CreateBody instance.
         */
        public CreateBody() {
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/elevateword/CreateBody.java

    package org.codelibs.fess.app.web.api.admin.elevateword;
    
    import org.codelibs.fess.app.web.admin.elevateword.CreateForm;
    
    /**
     * Request body for creating elevate word via REST API.
     * Extends CreateForm to inherit validation and field definitions.
     */
    public class CreateBody extends CreateForm {
    
        /**
         * Creates a new CreateBody instance.
         */
        public CreateBody() {
        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1012 bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/fileconfig/CreateBody.java

    import org.codelibs.fess.app.web.admin.fileconfig.CreateForm;
    
    /**
     * Request body for creating file configuration via REST API.
     * Extends CreateForm to inherit validation and field definitions.
     */
    public class CreateBody extends CreateForm {
    
        /**
         * Creates a new CreateBody instance.
         */
        public CreateBody() {
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1017 bytes
    - Viewed (0)
  9. tests/test_tutorial/test_custom_docs_ui/test_tutorial002.py

        static_dir: Path = Path(os.getcwd()) / "static"
        print(static_dir)
        static_dir.mkdir(exist_ok=True)
        from docs_src.custom_docs_ui.tutorial002_py39 import app
    
        with TestClient(app) as client:
            yield client
        static_dir.rmdir()
    
    
    def test_swagger_ui_html(client: TestClient):
        response = client.get("/docs")
        assert response.status_code == 200, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  10. internal/s3select/unused-errors.go

    		message:    "Time stamp format pattern contains a 12-hour hour of day format symbol but doesn't also contain an AM/PM field, or it contains a 24-hour hour of day format specifier and contains an AM/PM field in the SQL expression.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errEvaluatorUnterminatedTimestampFormatPatternToken(err error) *s3Error {
    	return &s3Error{
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 20 08:16:35 UTC 2024
    - 17.5K bytes
    - Viewed (0)
Back to top