Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,195 for Gent (0.18 sec)

  1. tests/test_tutorial/test_background_tasks/test_tutorial001.py

            os.remove(log)  # pragma: no cover
        response = client.post("/send-notification/******@****.***")
        assert response.status_code == 200, response.text
        assert response.json() == {"message": "Notification sent in the background"}
        with open("./log.txt") as f:
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Jul 09 18:06:12 UTC 2020
    - 578 bytes
    - Viewed (0)
  2. docs_src/handling_errors/tutorial006.py

        return await http_exception_handler(request, exc)
    
    
    @app.exception_handler(RequestValidationError)
    async def validation_exception_handler(request, exc):
        print(f"OMG! The client sent invalid data!: {exc}")
        return await request_validation_exception_handler(request, exc)
    
    
    @app.get("/items/{item_id}")
    async def read_item(item_id: int):
        if item_id == 3:
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Aug 09 11:10:33 UTC 2020
    - 928 bytes
    - Viewed (0)
  3. src/cmd/go/internal/cache/prog.go

    	// ObjectID is set for Type "put" and "output-file".
    	ObjectID []byte `json:",omitempty"` // or nil if not used
    
    	// Body is the body for "put" requests. It's sent after the JSON object
    	// as a base64-encoded JSON string when BodySize is non-zero.
    	// It's sent as a separate JSON value instead of being a struct field
    	// send in this JSON object so large values can be streamed in both directions.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 14 19:23:25 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_background_tasks/test_tutorial002_an.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: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 571 bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/tasks/finalizersWithFailure/tests-groovy/taskFinalizersWithFailureGroovy.out

    taskX
    taskY
    
    FAILURE: Build failed with an exception.
    
    * Where:
    Build file '/home/user/gradle/samples/build.gradle' line: 4
    
    * What went wrong:
    Execution failed for task ':taskX'.
    > java.lang.RuntimeException (no error message)
    
    * Try:
    > Run with --stacktrace option to get the stack trace.
    > Run with --info or --debug option to get more log output.
    > Run with --scan to get full insights.
    > Get more help at https://help.gradle.org.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 455 bytes
    - Viewed (0)
  6. docs_src/background_tasks/tutorial002_py310.py

    async def send_notification(
        email: str, background_tasks: BackgroundTasks, q: str = Depends(get_query)
    ):
        message = f"message to {email}\n"
        background_tasks.add_task(write_log, message)
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 643 bytes
    - Viewed (0)
  7. docs_src/background_tasks/tutorial002_an_py310.py

        email: str, background_tasks: BackgroundTasks, q: Annotated[str, Depends(get_query)]
    ):
        message = f"message to {email}\n"
        background_tasks.add_task(write_log, message)
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 683 bytes
    - Viewed (0)
  8. src/cmd/go/internal/telemetrycmd/telemetry.go

    system, but will not be uploaded to remote servers.
    
    When telemetry is off, local counter data is neither collected nor uploaded.
    
    When telemetry is on, telemetry data is written to the local file system
    and periodically sent to https://telemetry.go.dev/. Uploaded data is used to
    help improve the Go toolchain and related tools, and it will be published as
    part of a public dataset.
    
    For more details, see https://telemetry.go.dev/privacy.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 20:16:39 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. pkg/kubelet/winstats/perfcounters_test.go

    			counter:   packetsReceivedPerSecondQuery,
    			skipCheck: true,
    		},
    		"Net Adapter Packets Sent/sec Query": {
    			counter:   packetsSentPerSecondQuery,
    			skipCheck: true,
    		},
    		"Net Adapter Bytes Received/sec Query": {
    			counter:   bytesReceivedPerSecondQuery,
    			skipCheck: true,
    		},
    		"Net Adapter Bytes Sent/sec Query": {
    			counter:   bytesSentPerSecondQuery,
    			skipCheck: true,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

      private var failed = false
    
      /** Total number of pings sent by this web socket. */
      private var sentPingCount = 0
    
      /** Total number of pings received by this web socket. */
      private var receivedPingCount = 0
    
      /** Total number of pongs received by this web socket. */
      private var receivedPongCount = 0
    
      /** True if we have sent a ping that is still awaiting a reply. */
      private var awaitingPong = false
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 22.1K bytes
    - Viewed (1)
Back to top