Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 706 for Msg (0.04 sec)

  1. tests/test_response_change_status_code.py

        return result
    
    
    @app.get("/", dependencies=[Depends(parent_dep)])
    async def get_main():
        return {"msg": "Hello World"}
    
    
    client = TestClient(app)
    
    
    def test_dependency_set_status_code():
        response = client.get("/")
        assert response.status_code == 201, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Apr 08 04:37:38 UTC 2020
    - 589 bytes
    - Viewed (0)
  2. src/main/webapp/WEB-INF/orig/view/login/index.jsp

    		<div class="notification">${notification}</div>
    		<div class="card">
    			<div class="card-body login-card-body">
    				<p class="login-box-msg">
    					<la:message key="labels.login" />
    				</p>
    				<%-- Message --%>
    				<div>
    					<la:info id="msg" message="false">
    						<div class="alert alert-info">${msg}</div>
    					</la:info>
    					<la:errors />
    				</div>
    				<la:form styleId="login" method="post">
    					<div class="input-group mb-3">
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java

            String distributionName = reduce(buildProperties.getProperty("distributionName"));
    
            String msg = distributionName + " ";
            msg += (version != null ? version : "<version unknown>");
            if (rev != null || timestamp != null) {
                msg += " (";
                msg += (rev != null ? rev : "");
                if (timestamp != null && !timestamp.isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. tests/test_security_http_bearer_optional.py

        assert response.status_code == 200, response.text
        assert response.json() == {"msg": "Create an account first"}
    
    
    def test_security_http_bearer_incorrect_scheme_credentials():
        response = client.get("/users/me", headers={"Authorization": "Basic notreally"})
        assert response.status_code == 200, response.text
        assert response.json() == {"msg": "Create an account first"}
    
    
    def test_openapi_schema():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. tests/test_security_oauth2_password_bearer_optional.py

    async def read_items(token: Optional[str] = Security(oauth2_scheme)):
        if token is None:
            return {"msg": "Create an account first"}
        return {"token": token}
    
    
    client = TestClient(app)
    
    
    def test_no_token():
        response = client.get("/items")
        assert response.status_code == 200, response.text
        assert response.json() == {"msg": "Create an account first"}
    
    
    def test_token():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_query_params_str_validations/test_tutorial010_an_py39.py

        assert response.json() == IsDict(
            {
                "detail": [
                    {
                        "type": "string_pattern_mismatch",
                        "loc": ["query", "item-query"],
                        "msg": "String should match pattern '^fixedquery$'",
                        "input": "nonregexquery",
                        "ctx": {"pattern": "^fixedquery$"},
                    }
                ]
            }
        ) | IsDict(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. tests/test_annotated.py

            IsDict(
                {
                    "loc": ["query", "foo"],
                    "msg": "Field required",
                    "type": "missing",
                    "input": None,
                }
            )
            # TODO: remove when deprecating Pydantic v1
            | IsDict(
                {
                    "loc": ["query", "foo"],
                    "msg": "field required",
                    "type": "value_error.missing",
                }
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-v1.go

    	ETag       string            `json:"etag,omitempty" msg:"e"`
    	Number     int               `json:"number" msg:"n"`
    	Size       int64             `json:"size" msg:"s"`        // Size of the part on the disk.
    	ActualSize int64             `json:"actualSize" msg:"as"` // Original size of the part without compression or encryption bytes.
    	ModTime    time.Time         `json:"modTime" msg:"mt"`    // Date and time at which the part was uploaded.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_request_files/test_tutorial003_an_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"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractConditionAggregation.java

                String msg = "The value should not be null: variableName=null value=" + value;
                throw new IllegalArgumentException(msg);
            }
            if (value == null) {
                String msg = "The value should not be null: variableName=" + variableName;
                throw new IllegalArgumentException(msg);
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.4K bytes
    - Viewed (0)
Back to top