Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 724 for tag1 (0.05 sec)

  1. docs_src/path_operation_configuration/tutorial002.py

        price: float
        tax: Union[float, None] = None
        tags: Set[str] = set()
    
    
    @app.post("/items/", response_model=Item, tags=["items"])
    async def create_item(item: Item):
        return item
    
    
    @app.get("/items/", tags=["items"])
    async def read_items():
        return [{"name": "Foo", "price": 42}]
    
    
    @app.get("/users/", tags=["users"])
    async def read_users():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 580 bytes
    - Viewed (0)
  2. fastapi/routing.py

                        self.default_response_class,
                    )
                    current_tags = []
                    if tags:
                        current_tags.extend(tags)
                    if route.tags:
                        current_tags.extend(route.tags)
                    current_dependencies: List[params.Depends] = []
                    if dependencies:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:44:57 UTC 2024
    - 172.1K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_response_model/test_tutorial004_py39.py

                                {"title": "Description", "type": "string"}
                            ),
                            "tax": {"title": "Tax", "type": "number", "default": 10.5},
                            "tags": {
                                "title": "Tags",
                                "type": "array",
                                "items": {"type": "string"},
                                "default": [],
                            },
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 04 20:47:07 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

                        tags.add(searchFieldLog.getSecond());
                    } else if (roleFieldNameSet.contains(name)) {
                        roles.add(searchFieldLog.getSecond());
                    }
                }
    
                final String virtualHost = searchLog.getVirtualHost();
                if (virtualHost != null) {
                    tags.add(virtualHost);
                }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_path_operation_configurations/test_tutorial006.py

                                "description": "Successful Response",
                                "content": {"application/json": {"schema": {}}},
                            }
                        },
                        "tags": ["items"],
                        "summary": "Read Items",
                        "operationId": "read_items_items__get",
                    }
                },
                "/users/": {
                    "get": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  6. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

            return when {
              peekHeader.tagClass == Adapters.UTC_TIME.tagClass &&
                peekHeader.tag == Adapters.UTC_TIME.tag -> {
                Adapters.UTC_TIME.fromDer(reader)
              }
              peekHeader.tagClass == Adapters.GENERALIZED_TIME.tagClass &&
                peekHeader.tag == Adapters.GENERALIZED_TIME.tag -> {
                Adapters.GENERALIZED_TIME.fromDer(reader)
              }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  7. docs/site-replication/run-multi-site-ldap.sh

    	exit_1
    fi
    
    # "Test if most recent tag update is replicated"
    ./mc tag set minio2/newbucket "key=val1"
    if [ $? -ne 0 ]; then
    	echo "expecting tag set to be successful. exiting.."
    	exit_1
    fi
    
    sleep 10
    
    val=$(./mc tag list minio1/newbucket --json | jq -r .tagset | jq -r .key)
    if [ "${val}" != "val1" ]; then
    	echo "expected bucket tag to have replicated, exiting..."
    	exit_1
    fi
    # stop minio1
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. docs/em/docs/tutorial/bigger-applications.md

    ✋ī¸ 🔜 👆 💭 ❔ âšĢī¸ 👷, 👆 đŸ’Ē ⚙ī¸ ⚖ 🗄 👆 👍 📱 🙅‍♂ 🤔 ❔ 🏗 đŸ‘Ģ. đŸ‘ļ
    
    ### 🚮 🛃 `tags`, `responses`, & `dependencies`
    
    đŸ‘Ĩ đŸšĢ ❎ 🔡 `/items` đŸšĢ `tags=["items"]` 🔠 *➡ 🛠ī¸* ↩ī¸ đŸ‘Ĩ 🚮 đŸ‘Ģ `APIRouter`.
    
    ✋ī¸ đŸ‘Ĩ đŸ’Ē 🚮 _🌅_ `tags` 👈 🔜 ✔ đŸŽ¯ *➡ 🛠ī¸*, & ➕ `responses` đŸŽ¯ 👈 *➡ 🛠ī¸*:
    
    ```Python hl_lines="30-31" title="app/routers/items.py"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  9. tests/test_openapi_separate_input_output_schemas.py

                            "tags": {
                                "items": {"type": "string"},
                                "type": "array",
                                "title": "Tags",
                                "default": [],
                            },
                        },
                        "type": "object",
                        "required": ["subname", "sub_description", "tags"],
                        "title": "SubItem",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:44:57 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  10. docs_src/bigger_applications/app_an_py39/routers/users.py

    from fastapi import APIRouter
    
    router = APIRouter()
    
    
    @router.get("/users/", tags=["users"])
    async def read_users():
        return [{"username": "Rick"}, {"username": "Morty"}]
    
    
    @router.get("/users/me", tags=["users"])
    async def read_user_me():
        return {"username": "fakecurrentuser"}
    
    
    @router.get("/users/{username}", tags=["users"])
    async def read_user(username: str):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 407 bytes
    - Viewed (0)
Back to top