Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1401 - 1410 of 1,953 for into (0.01 seconds)

  1. docs_src/custom_request_and_route/tutorial002_an_py310.py

            return custom_route_handler
    
    
    app = FastAPI()
    app.router.route_class = ValidationErrorLoggingRoute
    
    
    @app.post("/")
    async def sum_numbers(numbers: Annotated[list[int], Body()]):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 974 bytes
    - Click Count (0)
  2. build-logic/documentation/src/test/resources/org/gradle/test/JavaClassWithMethods.java

            return null;
        }
    
        /**
         * A method that returns an array
         */
        String[][] arrayMethod(String[]... strings) {
            return null;
        }
    
        int getIntProp() {
            return 5;
        }
    
        void setIntProp(int prop) {
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 717 bytes
    - Click Count (0)
  3. clause/expression_test.go

    		Vars   []interface{}
    	}{{
    		SQL:    "create table ? (? ?, ? ?)",
    		Vars:   []interface{}{clause.Table{Name: "users"}, clause.Column{Name: "id"}, clause.Expr{SQL: "int"}, clause.Column{Name: "name"}, clause.Expr{SQL: "text"}},
    		Result: "create table `users` (`id` int, `name` text)",
    	}}
    
    	for idx, result := range results {
    		t.Run(fmt.Sprintf("case #%v", idx), func(t *testing.T) {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue Nov 04 07:04:52 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  4. docs/ru/docs/tutorial/security/simple-oauth2.md

    * `users:read` или `users:write` — распространенные примеры.
    * `instagram_basic` используется Facebook / Instagram.
    * `https://www.googleapis.com/auth/drive` используется Google.
    
    /// info | Дополнительная информация
    В OAuth2 "scope" — это просто строка, которая указывает требуемое конкретное разрешение.
    
    Не имеет значения, содержит ли она другие символы, например `:`, или является ли это URL.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 30 11:24:39 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  5. docs_src/body_multiple_params/tutorial003_an_py39.py

    
    class User(BaseModel):
        username: str
        full_name: Union[str, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        item_id: int, item: Item, user: User, importance: Annotated[int, Body()]
    ):
        results = {"item_id": item_id, "item": item, "user": user, "importance": importance}
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 575 bytes
    - Click Count (0)
  6. docs/fr/docs/tutorial/query-params-str-validations.md

    ```
    
    ... rend le paramètre optionnel, et est donc équivalent à :
    
    ```Python
    q: Union[str, None] = None
    ```
    
    Mais déclare explicitement `q` comme étant un paramètre de requête.
    
    /// info
    
    Gardez à l'esprit que la partie la plus importante pour rendre un paramètre optionnel est :
    
    ```Python
    = None
    ```
    
    ou :
    
    ```Python
    = Query(None)
    ```
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Nov 09 16:39:20 GMT 2024
    - 9.5K bytes
    - Click Count (0)
  7. docs_src/dependencies/tutorial003_py39.py

    app = FastAPI()
    
    
    fake_items_db = [{"item_name": "Foo"}, {"item_name": "Bar"}, {"item_name": "Baz"}]
    
    
    class CommonQueryParams:
        def __init__(self, q: Union[str, None] = None, skip: int = 0, limit: int = 100):
            self.q = q
            self.skip = skip
            self.limit = limit
    
    
    @app.get("/items/")
    async def read_items(commons=Depends(CommonQueryParams)):
        response = {}
        if commons.q:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 635 bytes
    - Click Count (0)
  8. docs_src/body_multiple_params/tutorial004_an_py310.py

    
    class User(BaseModel):
        username: str
        full_name: str | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        *,
        item_id: int,
        item: Item,
        user: User,
        importance: Annotated[int, Body(gt=0)],
        q: str | None = None,
    ):
        results = {"item_id": item_id, "item": item, "user": user, "importance": importance}
        if q:
            results.update({"q": q})
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 643 bytes
    - Click Count (0)
  9. docs_src/dependencies/tutorial003_an_py310.py

    app = FastAPI()
    
    
    fake_items_db = [{"item_name": "Foo"}, {"item_name": "Bar"}, {"item_name": "Baz"}]
    
    
    class CommonQueryParams:
        def __init__(self, q: str | None = None, skip: int = 0, limit: int = 100):
            self.q = q
            self.skip = skip
            self.limit = limit
    
    
    @app.get("/items/")
    async def read_items(commons: Annotated[Any, Depends(CommonQueryParams)]):
        response = {}
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 655 bytes
    - Click Count (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CheckTest.java

                            .thenReturn(UpgradeResult.empty());
    
                    checkGoal.execute(context);
    
                    // Verify that the Check-specific header is logged
                    verify(context.logger).info("Maven Upgrade Tool - Check");
                } finally {
                    // Clean up - delete all files in the directory first
                    try {
                        Files.walk(tempDir)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 4.9K bytes
    - Click Count (0)
Back to Top