Search Options

Results per page
Sort
Preferred Languages
Advance

Results 5101 - 5110 of 7,014 for _return (0.05 sec)

  1. docs/vi/docs/index.md

        is_offer: Union[bool, None] = None
    
    
    @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}
    
    
    @app.put("/items/{item_id}")
    def update_item(item_id: int, item: Item):
        return {"item_name": item.name, "item_id": item_id}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  2. docs/zh/docs/index.md

        is_offer: Union[bool, None] = None
    
    
    @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}
    
    
    @app.put("/items/{item_id}")
    def update_item(item_id: int, item: Item):
        return {"item_name": item.name, "item_id": item_id}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

            @Override
            public int hashCode() {
                return 0;
            }
    
            @Override
            public boolean equals(Object o) {
                if (o == this) {
                    return true;
                }
                if (o == null || !(o instanceof MyKey)) {
                    return false;
                }
                return _key.equals(((MyKey) o)._key);
            }
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. docs_src/body_fields/tutorial001_an_py310.py

        tax: float | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Annotated[Item, Body(embed=True)]):
        results = {"item_id": item_id, "item": item}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 563 bytes
    - Viewed (0)
  5. tests/test_param_class.py

    from fastapi import FastAPI
    from fastapi.params import Param
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.get("/items/")
    def read_items(q: Optional[str] = Param(default=None)):  # type: ignore
        return {"q": q}
    
    
    client = TestClient(app)
    
    
    def test_default_param_query_none():
        response = client.get("/items/")
        assert response.status_code == 200, response.text
        assert response.json() == {"q": None}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 636 bytes
    - Viewed (0)
  6. docs_src/response_model/tutorial004.py

        "baz": {"name": "Baz", "description": None, "price": 50.2, "tax": 10.5, "tags": []},
    }
    
    
    @app.get("/items/{item_id}", response_model=Item, response_model_exclude_unset=True)
    async def read_item(item_id: str):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 633 bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/LineBuffer.java

    import java.io.IOException;
    
    /**
     * Package-protected abstract class that implements the line reading algorithm used by {@link
     * LineReader}. Line separators are per {@link java.io.BufferedReader}: line feed, carriage return,
     * or carriage return followed immediately by a linefeed.
     *
     * <p>Subclasses must implement {@link #handleLine}, call {@link #add} to pass character data, and
     * call {@link #finish} at the end of stream.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/LineBuffer.java

    import java.io.IOException;
    
    /**
     * Package-protected abstract class that implements the line reading algorithm used by {@link
     * LineReader}. Line separators are per {@link java.io.BufferedReader}: line feed, carriage return,
     * or carriage return followed immediately by a linefeed.
     *
     * <p>Subclasses must implement {@link #handleLine}, call {@link #add} to pass character data, and
     * call {@link #finish} at the end of stream.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  9. cmd/admin-handlers-users-race_test.go

    	g := errgroup.Group{}
    	for i := 0; i < userCount; i++ {
    		g.Go(func(i int) func() error {
    			return func() error {
    				uClient := s.getUserClient(c, accessKeys[i], secretKeys[i], "")
    				err := s.adm.RemoveUser(ctx, accessKeys[i])
    				if err != nil {
    					return err
    				}
    				c.mustNotListObjects(ctx, uClient, bucket)
    				return nil
    			}
    		}(i), i)
    	}
    	if errs := g.Wait(); len(errs) > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 28 09:06:25 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java

                generateContents(tempDir, count);
    
                return tempDir;
            } catch (final Exception e) {
                throw new CrawlerSystemException(e);
            }
        }
    
        private static void generateContents(final File dir, final int count) throws Exception {
            if (count <= 0) {
                return;
            }
    
            final String content = getHtmlContent(count);
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top