Search Options

Results per page
Sort
Preferred Languages
Advance

Results 861 - 870 of 1,143 for rjsonp (0.07 sec)

  1. tests/test_tutorial/test_background_tasks/test_tutorial002.py

        if log.is_file():
            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: Thu Jul 09 18:06:12 UTC 2020
    - 568 bytes
    - Viewed (0)
  2. docs_src/app_testing/tutorial002.py

        await websocket.close()
    
    
    def test_read_main():
        client = TestClient(app)
        response = client.get("/")
        assert response.status_code == 200
        assert response.json() == {"msg": "Hello World"}
    
    
    def test_websocket():
        client = TestClient(app)
        with client.websocket_connect("/ws") as websocket:
            data = websocket.receive_json()
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Feb 08 10:23:07 UTC 2023
    - 757 bytes
    - Viewed (0)
  3. tests/test_tutorial/test_background_tasks/test_tutorial002_an_py310.py

        if log.is_file():
            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
    - 631 bytes
    - Viewed (0)
  4. tests/test_tutorial/test_background_tasks/test_tutorial002_an_py39.py

        if log.is_file():
            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)
  5. .github/actions/notify-translations/app/main.py

            timeout=settings.httpx_timeout,
            json={"query": query, "variables": variables, "operationName": "Q"},
        )
        if response.status_code != 200:
            logging.error(
                f"Response was not 200, after: {after}, category_id: {category_id}"
            )
            logging.error(response.text)
            raise RuntimeError(response.text)
        data = response.json()
        if "errors" in data:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  6. internal/logger/logger.go

    // jsonFlag: Display in JSON format, if enabled
    var (
    	quietFlag, jsonFlag, anonFlag bool
    	// Custom function to format error
    	errorFmtFunc func(string, error, bool) string
    )
    
    // EnableQuiet - turns quiet option on.
    func EnableQuiet() {
    	color.TurnOff() // no colored outputs necessary in quiet mode.
    	quietFlag = true
    }
    
    // EnableJSON - outputs logs in json format.
    func EnableJSON() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 09:43:48 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  7. .gitignore

    .vscode/
    # Bazel
    /bazel-*
    # vi swap files
    .*.swp
    # vi backups
    *.bak
    # common backups
    *~
    # python artifacts
    *.pyc
    # pilot
    pilot/pkg/kube/config
    pilot/pkg/proxy/envoy/envoy
    # lint
    lintconfig.gen.json
    .istiorc
    .istiorc.mk
    # codegen stuff
    bin/adapterlinter
    bin/protoc-gen-gogoslick*
    bin/protoc-min-version*
    bin/protoc-gen-docs*
    bin/testlinter
    bin/envvarlinter
    bin/istioctl
    *.orig
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue May 21 21:20:01 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  8. tests/test_dependency_contextvars.py

        context, so that request_state_context_var.reset(contextvar_token).
    
        If they are run in a different context, that raises an error.
        """
        response = client.get("/user")
        assert response.json() == "deadpond"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Feb 17 12:40:12 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  9. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/SubprojectsInfo.kt

        private
        val testingFolder = project.layout.projectDirectory.dir("testing")
    
        @get:Internal
        protected
        val subprojectsJson = project.layout.projectDirectory.file(".teamcity/subprojects.json")
    
        protected
        fun generateSubprojectsJson(): String {
            val subprojects = generateSubprojects()
            val gson = GsonBuilder().setPrettyPrinting().create()
            return gson.toJson(subprojects) + '\n'
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. README.md

     limitations under the License.
    -->
    Apache Maven
    ============
    
    [![ASF Jira](https://img.shields.io/endpoint?url=https%3A%2F%2Fmaven.apache.org%2Fbadges%2Fasf_jira-MNG.json)][jira]
    [![Apache License, Version 2.0, January 2004](https://img.shields.io/github/license/apache/maven.svg?label=License)][license]
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sun Aug 18 23:17:25 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top