Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 1,429 for Description (0.08 sec)

  1. docs_src/dependencies/tutorial008b_an_py39.py

    from typing import Annotated
    
    from fastapi import Depends, FastAPI, HTTPException
    
    app = FastAPI()
    
    
    data = {
        "plumbus": {"description": "Freshly pickled plumbus", "owner": "Morty"},
        "portal-gun": {"description": "Gun to create portals", "owner": "Rick"},
    }
    
    
    class OwnerError(Exception):
        pass
    
    
    def get_username():
        try:
            yield "Rick"
        except OwnerError as e:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Dec 26 20:37:34 UTC 2023
    - 775 bytes
    - Viewed (0)
  2. tests/test_tutorial/test_security/test_tutorial003_an_py39.py

                        "responses": {
                            "200": {
                                "description": "Successful Response",
                                "content": {"application/json": {"schema": {}}},
                            },
                            "422": {
                                "description": "Validation Error",
                                "content": {
                                    "application/json": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  3. .github/ISSUE_TEMPLATE/bug_report.md

    **Describe the bug**
    A clear and concise description of what the bug is.
    
    **To Reproduce**
    Steps to reproduce the behavior:
    1. Go to '...'
    2. Click on '....'
    3. Scroll down to '....'
    4. See error
    
    **Expected behavior**
    A clear and concise description of what you expected to happen.
    
    **Screenshots**
    If applicable, add screenshots to help explain your problem.
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Feb 10 22:19:06 UTC 2020
    - 749 bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/body-multiple-params.md

    Neste caso o **FastAPI** esperará um corpo como:
    
    ```JSON hl_lines="2"
    {
        "item": {
            "name": "Foo",
            "description": "The pretender",
            "price": 42.0,
            "tax": 3.2
        }
    }
    ```
    
    ao invés de:
    
    ```JSON
    {
        "name": "Foo",
        "description": "The pretender",
        "price": 42.0,
        "tax": 3.2
    }
    ```
    
    ## Recapitulando
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. docs_src/request_files/tutorial003_an_py39.py

    app = FastAPI()
    
    
    @app.post("/files/")
    async def create_files(
        files: Annotated[list[bytes], File(description="Multiple files as bytes")],
    ):
        return {"file_sizes": [len(file) for file in files]}
    
    
    @app.post("/uploadfiles/")
    async def create_upload_files(
        files: Annotated[
            list[UploadFile], File(description="Multiple files as UploadFile")
        ],
    ):
        return {"filenames": [file.filename for file in files]}
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 952 bytes
    - Viewed (0)
  6. .github/ISSUE_TEMPLATE/bug_report.md

    **Describe the bug**
    A clear and concise description of what the bug is.
    
    **To Reproduce**
    Steps to reproduce the behavior:
    1. Go to '...'
    2. Click on '....'
    3. Scroll down to '....'
    4. See error
    
    **Expected behavior**
    A clear and concise description of what you expected to happen.
    
    **Screenshots**
    If applicable, add screenshots to help explain your problem.
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Mon Feb 10 22:18:26 UTC 2020
    - 748 bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/remote-repo/org/apache/maven/its/a/0.1/a-0.1.pom

      <groupId>org.apache.maven.its</groupId>
      <artifactId>a</artifactId>
      <version>0.1</version>
      <packaging>jar</packaging>
    
      <name>Maven Integration Test :: Dummy Artifact</name>
      <description>
    
      </description>
    
      <distributionManagement>
        <repository>
          <id>maven-core-it</id>
          <url>file:///${basedir}/repo</url>
        </repository>
      </distributionManagement>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/misc/AssertionUtil.java

            }
        }
    
        /**
         * 状態が不正でないことを表明します。
         *
         * @param expression
         *            事前条件
         * @param description
         *            不正な状態であることの説明
         * @throws ClIllegalStateException
         *             {@code expression}がfalseの場合。
         */
        public static void assertState(final boolean expression, final String description) {
            if (!expression) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  9. docs_src/app_testing/app_b_py310/main.py

    fake_secret_token = "coneofsilence"
    
    fake_db = {
        "foo": {"id": "foo", "title": "Foo", "description": "There goes my hero"},
        "bar": {"id": "bar", "title": "Bar", "description": "The bartenders"},
    }
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        id: str
        title: str
        description: str | None = None
    
    
    @app.get("/items/{item_id}", response_model=Item)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Jan 09 14:44:08 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_path_operation_configurations/test_tutorial006.py

            "paths": {
                "/items/": {
                    "get": {
                        "responses": {
                            "200": {
                                "description": "Successful Response",
                                "content": {"application/json": {"schema": {}}},
                            }
                        },
                        "tags": ["items"],
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top