Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 1,123 for fooo (0.02 sec)

  1. tests/test_tutorial/test_body_fields/test_tutorial001_an_py39.py

        return client
    
    
    @needs_py39
    def test_items_5(client: TestClient):
        response = client.put("/items/5", json={"item": {"name": "Foo", "price": 3.0}})
        assert response.status_code == 200
        assert response.json() == {
            "item_id": 5,
            "item": {"name": "Foo", "price": 3.0, "description": None, "tax": None},
        }
    
    
    @needs_py39
    def test_items_6(client: TestClient):
        response = client.put(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. docs_src/additional_responses/tutorial003.py

                        "example": {"id": "bar", "value": "The bar tenders"}
                    }
                },
            },
        },
    )
    async def read_item(item_id: str):
        if item_id == "foo":
            return {"id": "foo", "value": "there goes my hero"}
        else:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 837 bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/path-params.md

    So, if you run this example and go to <a href="http://127.0.0.1:8000/items/foo" class="external-link" target="_blank">http://127.0.0.1:8000/items/foo</a>, you will see a response of:
    
    ```JSON
    {"item_id":"foo"}
    ```
    
    ## Path parameters with types
    
    You can declare the type of a path parameter in the function, using standard Python type annotations:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/PathType.java

         *       {@code {"--module-path", "dir\path1;dir\path2"}} on Windows.</li>
         *   <li>If this type was created by {@code JavaPathType.patchModule("foo.bar")}, then the method returns
         *       {@code {"--patch-module", "foo.bar=dir/path1:dir/path2"}} on Unix or
         *       {@code {"--patch-module", "foo.bar=dir\path1;dir\path2"}} on Windows.</li>
         * </ul>
         *
         * @param paths the path to format as a string
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. docs_src/response_model/tutorial005_py310.py

    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float = 10.5
    
    
    items = {
        "foo": {"name": "Foo", "price": 50.2},
        "bar": {"name": "Bar", "description": "The Bar fighters", "price": 62, "tax": 20.2},
        "baz": {
            "name": "Baz",
            "description": "There goes my baz",
            "price": 50.2,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 816 bytes
    - Viewed (0)
  6. dbflute_fess/playsql/_readme.txt

    The defaultValueMap.dataprop is for common columns like this:
    /- - - - - - - - - - - - - - - - - - - -
    map:{
        ; REGISTER_DATETIME = sysdate
        ; REGISTER_USER     = foo
        ; REGISTER_PROCESS  = bar
        ; UPDATE_DATETIME   = sysdate
        ; UPDATE_USER       = foo
        ; UPDATE_PROCESS    = bar
        ; VERSION_NO        = 0
    }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Jul 04 22:46:31 UTC 2015
    - 1.3K bytes
    - Viewed (0)
  7. docs/ko/docs/tutorial/body-multiple-params.md

    item: Item = Body(..., embed=True)
    ```
    
    이 경우에 **FastAPI**는 본문을 아래 대신에:
    
    ```JSON hl_lines="2"
    {
        "name": "Foo",
        "description": "The pretender",
        "price": 42.0,
        "tax": 3.2
    }
    ```
    
    아래 처럼 예측할 것 입니다:
    
    ```JSON
    {
        "item": {
            "name": "Foo",
            "description": "The pretender",
            "price": 42.0,
            "tax": 3.2
        }
    }
    ```
    
    ## 정리
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/test/resources/poms/validation/bad-dependency-exclusion-id.xml

    KIND, either express or implied.  See the License for the
    specific language governing permissions and limitations
    under the License.
    -->
    
    <project>
      <modelVersion>4.0.0</modelVersion>
      <artifactId>foo</artifactId>
      <groupId>foo</groupId>
      <version>99.44</version>
      <packaging>jar</packaging>
    
      <dependencies>
        <dependency>
          <groupId>gid</groupId>
          <artifactId>aid</artifactId>
          <version>1.0</version>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  9. tests/test_dependency_contextvars.py

    
    @app.middleware("http")
    async def custom_middleware(
        request: Request, call_next: Callable[[Request], Awaitable[Response]]
    ):
        response = await call_next(request)
        response.headers["custom"] = "foo"
        return response
    
    
    @app.get("/user", dependencies=[Depends(set_up_request_state_dependency)])
    def get_user():
        request_state = legacy_request_state_context_var.get()
        assert request_state
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Feb 17 12:40:12 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/test/resources/poms/validation/invalid-aggregator-packaging-pom.xml

    KIND, either express or implied.  See the License for the
    specific language governing permissions and limitations
    under the License.
    -->
    
    <project>
      <modelVersion>4.0.0</modelVersion>
      <artifactId>foo</artifactId>
      <groupId>foo</groupId>
      <version>99.44</version>
      <packaging>bleh</packaging>
    
      <modules>
        <module>test-module</module>
      </modules>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 997 bytes
    - Viewed (0)
Back to top