Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 1,470 for message_0 (0.64 sec)

  1. tests/test_tutorial/test_background_tasks/test_tutorial002_an_py39.py

            os.remove(log)  # pragma: no cover
        response = client.post("/send-notification/******@****.***?q=some-query")
        assert response.status_code == 200, response.text
        assert response.json() == {"message": "Message sent"}
        with open("./log.txt") as f:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 628 bytes
    - Viewed (0)
  2. internal/grid/msg_gen.go

    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z *connectResp) Msgsize() (s int) {
    	s = 1 + 3 + msgp.ArrayHeaderSize + (16 * (msgp.ByteSize)) + 9 + msgp.BoolSize + 15 + msgp.StringPrefixSize + len(z.RejectedReason)
    	return
    }
    
    // DecodeMsg implements msgp.Decodable
    func (z *message) DecodeMsg(dc *msgp.Reader) (err error) {
    	var zb0001 uint32
    	zb0001, err = dc.ReadArrayHeader()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:07:21 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_response_model/test_tutorial003_05.py

    client = TestClient(app)
    
    
    def test_get_portal():
        response = client.get("/portal")
        assert response.status_code == 200, response.text
        assert response.json() == {"message": "Here's your interdimensional portal."}
    
    
    def test_get_redirect():
        response = client.get("/portal", params={"teleport": True}, follow_redirects=False)
        assert response.status_code == 307, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  4. tests/test_deprecated_openapi_prefix.py

    app = FastAPI(openapi_prefix="/api/v1")
    
    
    @app.get("/app")
    def read_main(request: Request):
        return {"message": "Hello World", "root_path": request.scope.get("root_path")}
    
    
    client = TestClient(app)
    
    
    def test_main():
        response = client.get("/app")
        assert response.status_code == 200
        assert response.json() == {"message": "Hello World", "root_path": "/api/v1"}
    
    
    def test_openapi():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  5. cmd/metrics-v3-logger-webhook.go

    	webhookFailedMessagesMD = NewCounterMD(webhookFailedMessages,
    		"Number of messages that failed to send",
    		allWebhookLabels...)
    	webhookQueueLengthMD = NewGaugeMD(webhookQueueLength,
    		"Webhook queue length",
    		allWebhookLabels...)
    	webhookTotalMessagesMD = NewCounterMD(webhookTotalMessages,
    		"Total number of messages sent to this target",
    		allWebhookLabels...)
    )
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 14 07:27:33 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/resolution/UnresolvableModelException.java

        /**
         * The version of the unresolvable model.
         */
        private final String version;
    
        /**
         * Creates a new exception with specified detail message and cause.
         *
         * @param message The detail message, may be {@code null}.
         * @param groupId The group id of the unresolvable model, may be {@code null}.
         * @param artifactId The artifact id of the unresolvable model, may be {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

                if (cause instanceof ModelBuildingException) {
                    String message = "In: " + pom + "\n\n";
                    for (ModelProblem problem : ((ModelBuildingException) cause).getProblems()) {
                        message += problem + "\n";
                    }
                    System.out.println(message);
                    fail(message);
                }
    
                throw e;
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. cmd/ftp-server.go

    // minioLogger use an instance of this to log in a standard format
    type minioLogger struct{}
    
    // Print implement Logger
    func (log *minioLogger) Print(sessionID string, message interface{}) {
    	if serverDebugLog {
    		fmt.Printf("%s %s\n", sessionID, message)
    	}
    }
    
    // Printf implement Logger
    func (log *minioLogger) Printf(sessionID string, format string, v ...interface{}) {
    	if serverDebugLog {
    		if sessionID != "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Mar 09 03:07:08 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/view/admin/group/admin_group_details.jsp

                                    <%-- Card Body --%>
                                <div class="card-body">
                                        <%-- Message --%>
                                    <div>
                                        <la:info id="msg" message="true">
                                            <div class="alert alert-info">${msg}</div>
                                        </la:info>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 4K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/view/admin/accesstoken/admin_accesstoken.jsp

                            </div>
                            <div class="card-body">
                                <%-- Message --%>
                                <div>
                                    <la:info id="msg" message="true">
                                        <div class="alert alert-info">${msg}</div>
                                    </la:info>
                                    <la:errors/>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Feb 12 20:25:27 UTC 2020
    - 4.7K bytes
    - Viewed (0)
Back to top