Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,529 for _items (0.05 sec)

  1. docs/tr/docs/tutorial/query-params.md

    ```
    http://127.0.0.1:8000/items/foo?short=1
    ```
    
    veya
    
    ```
    http://127.0.0.1:8000/items/foo?short=True
    ```
    
    veya
    
    ```
    http://127.0.0.1:8000/items/foo?short=true
    ```
    
    veya
    
    ```
    http://127.0.0.1:8000/items/foo?short=on
    ```
    
    veya
    
    ```
    http://127.0.0.1:8000/items/foo?short=yes
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            Collections.addAll(roleList, item1.getRoles());
            for (final String role : item2.getRoles()) {
                if (!roleList.contains(role)) {
                    roleList.add(role);
                }
            }
            mergedItem.roles = roleList.toArray(new String[roleList.size()]);
    
            mergedItem.kinds = concatKinds(item1.kinds, item2.kinds);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/bigger-applications.md

    * procure o subpacote `routers` (o diretório em `app/routers/`)...
    * e dele, importe o submódulo `items` (o arquivo em `app/routers/items.py`) e `users` (o arquivo em `app/routers/users.py`)...
    
    O módulo `items` terá uma variável `router` (`items.router`). Esta é a mesma que criamos no arquivo `app/routers/items.py`, é um objeto `APIRouter`.
    
    E então fazemos o mesmo para o módulo `users`.
    
    Também poderíamos importá-los como:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial007_pv1.py

            "paths": {
                "/items/": {
                    "post": {
                        "summary": "Create Item",
                        "operationId": "create_item_items__post",
                        "requestBody": {
                            "content": {
                                "application/x-yaml": {
                                    "schema": {
                                        "title": "Item",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  5. docs/en/docs/external-links.md

    ///
    
    {% for section_name, section_content in external_links.items() %}
    
    ## {{ section_name }}
    
    {% for lang_name, lang_content in section_content.items() %}
    
    ### {{ lang_name }}
    
    {% for item in lang_content %}
    
    * <a href="{{ item.link }}" class="external-link" target="_blank">{{ item.title }}</a> by <a href="{{ item.author_link }}" class="external-link" target="_blank">{{ item.author }}</a>.
    
    {% endfor %}
    {% endfor %}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 1K bytes
    - Viewed (0)
  6. docs_src/query_params_str_validations/tutorial010_py310.py

    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: str | None = Query(
            default=None,
            alias="item-query",
            title="Query string",
            description="Query string for the items to search in the database that have a good match",
            min_length=3,
            max_length=50,
            pattern="^fixedquery$",
            deprecated=True,
        ),
    ):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 542 bytes
    - Viewed (0)
  7. docs/ru/docs/index.md

    </details>
    
    ### Проверка
    
    Откройте браузер на <a href="http://127.0.0.1:8000/items/5?q=somequery" class="external-link" target="_blank">http://127.0.0.1:8000/items/5?q=somequery</a>.
    
    Вы увидите следующий JSON ответ:
    
    ```JSON
    {"item_id": 5, "q": "somequery"}
    ```
    
    Вы уже создали API, который:
    
    * Получает HTTP-запросы по _путям_ `/` и `/items/{item_id}`.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_events/test_tutorial001.py

                                },
                            },
                            "summary": "Read Items",
                            "operationId": "read_items_items__item_id__get",
                            "parameters": [
                                {
                                    "required": True,
                                    "schema": {"title": "Item Id", "type": "string"},
                                    "name": "item_id",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 18 12:36:40 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  9. docs_src/query_params_str_validations/tutorial010.py

    from typing import Union
    
    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: Union[str, None] = Query(
            default=None,
            alias="item-query",
            title="Query string",
            description="Query string for the items to search in the database that have a good match",
            min_length=3,
            max_length=50,
            pattern="^fixedquery$",
            deprecated=True,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 574 bytes
    - Viewed (0)
  10. tests/test_tutorial/test_dependencies/test_tutorial008b_an.py

    client = TestClient(app)
    
    
    def test_get_no_item():
        response = client.get("/items/foo")
        assert response.status_code == 404, response.text
        assert response.json() == {"detail": "Item not found"}
    
    
    def test_owner_error():
        response = client.get("/items/plumbus")
        assert response.status_code == 400, response.text
        assert response.json() == {"detail": "Owner error: Rick"}
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Dec 26 20:37:34 UTC 2023
    - 700 bytes
    - Viewed (0)
Back to top