Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 318 for xHello (0.07 sec)

  1. docs/pl/docs/index.md

    ### Stwórz
    
    * Utwórz plik o nazwie `main.py` z:
    
    ```Python
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    <details markdown="1">
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  2. internal/grid/connection_test.go

    	errFatal(local.RegisterStreamingHandler(handlerTest2, h2))
    
    	// local to remote
    	remoteConn := local.Connection(remoteHost)
    	errFatal(remoteConn.WaitForConnect(context.Background()))
    	const testPayload = "Hello Grid World!"
    
    	gotResp := make(chan struct{})
    	go func() {
    		start := time.Now()
    		t.Log("Roundtrip: sending request")
    		resp, err := remoteConn.Request(context.Background(), handlerTest, []byte(testPayload))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 08 21:44:00 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. docs/bucket/replication/test_del_marker_proxying.sh

    ./mc replicate add sitea/bucket --remote-bucket siteb/bucket
    
    # Run the test to make sure proxying of DEL marker doesn't happen
    loop_count=0
    while true; do
    	if [ $loop_count -eq 1000 ]; then
    		break
    	fi
    	echo "Hello World" | ./mc pipe sitea/bucket/obj$loop_count
    	./mc rm sitea/bucket/obj$loop_count
    	RESULT=$({ ./mc stat --no-list sitea/bucket/obj$loop_count; } 2>&1)
    	if [[ ${RESULT} != *"Object does not exist"* ]]; then
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. docs/az/docs/index.md

    ```Python
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    <details markdown="1">
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  5. docs/de/docs/advanced/custom-response.md

    ```Python hl_lines="9-14  17"
    {!../../docs_src/custom_response/tutorial009c.py!}
    ```
    
    Statt:
    
    ```json
    {"message": "Hello World"}
    ```
    
    ... wird die Response jetzt Folgendes zurückgeben:
    
    ```json
    {
      "message": "Hello World"
    }
    ```
    
    Natürlich werden Sie wahrscheinlich viel bessere Möglichkeiten finden, Vorteil daraus zu ziehen, als JSON zu formatieren. 😉
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. docs/de/docs/index.md

    * Erstellen Sie eine Datei `main.py` mit:
    
    ```Python
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    <details markdown="1">
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/eventbus/DispatcherTest.java

        public IntegerSubscriber(String name) {
          this.name = name;
        }
    
        @Subscribe
        public void handleInteger(Integer integer) {
          dispatchedSubscribers.add(this);
          dispatcher.dispatch("hello", stringSubscribers.iterator());
        }
    
        @Override
        public String toString() {
          return name;
        }
      }
    
      public final class StringSubscriber {
        private final String name;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 27 15:41:25 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/EventListenerTest.kt

        server.protocols = Arrays.asList(Protocol.HTTP_2, Protocol.HTTP_1_1)
        requestBodySuccess(
          "Hello".toRequestBody("text/plain".toMediaType()),
          CoreMatchers.equalTo(5L),
          CoreMatchers.equalTo(19L),
        )
      }
    
      @Test
      fun requestBodySuccessHttp() {
        requestBodySuccess(
          "Hello".toRequestBody("text/plain".toMediaType()),
          CoreMatchers.equalTo(5L),
          CoreMatchers.equalTo(19L),
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 56.9K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/custom-response.md

    ```Python hl_lines="9-14  17"
    {!../../docs_src/custom_response/tutorial009c.py!}
    ```
    
    Now instead of returning:
    
    ```json
    {"message": "Hello World"}
    ```
    
    ...this response will return:
    
    ```json
    {
      "message": "Hello World"
    }
    ```
    
    Of course, you will probably find much better ways to take advantage of this than formatting JSON. 😉
    
    ## Default response class
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  10. cmd/object-api-putobject_test.go

    	if err != nil {
    		// Failed to create newbucket, abort.
    		t.Fatalf("%s : %s", instanceType, err.Error())
    	}
    
    	var (
    		nilBytes    []byte
    		data        = []byte("hello")
    		fiveMBBytes = bytes.Repeat([]byte("a"), 5*humanize.MiByte)
    	)
    	invalidMD5 := getMD5Hash([]byte("meh"))
    	invalidMD5Header := md5Header([]byte("meh"))
    
    	testCases := []struct {
    		bucketName    string
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 25.8K bytes
    - Viewed (0)
Back to top