Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 501 - 510 of 998 for itens (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs_src/path_operation_advanced_configuration/tutorial007_pv1_py39.py

    from fastapi import FastAPI, HTTPException, Request
    from pydantic.v1 import BaseModel, ValidationError
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        tags: list[str]
    
    
    @app.post(
        "/items/",
        openapi_extra={
            "requestBody": {
                "content": {"application/x-yaml": {"schema": Item.schema()}},
                "required": True,
            },
        },
    )
    async def create_item(request: Request):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 767 bytes
    - Click Count (0)
  2. docs_src/path_operation_advanced_configuration/tutorial007_py39.py

    import yaml
    from fastapi import FastAPI, HTTPException, Request
    from pydantic import BaseModel, ValidationError
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        tags: list[str]
    
    
    @app.post(
        "/items/",
        openapi_extra={
            "requestBody": {
                "content": {"application/x-yaml": {"schema": Item.model_json_schema()}},
                "required": True,
            },
        },
    )
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 797 bytes
    - Click Count (0)
  3. docs/ru/docs/tutorial/handling-errors.md

    ### Возвращаемый ответ { #the-resulting-response }
    
    Если клиент запросит `http://example.com/items/foo` (`item_id` `"foo"`), то он получит статус-код 200 и ответ в формате JSON:
    
    ```JSON
    {
      "item": "The Foo Wrestlers"
    }
    ```
    
    Но если клиент запросит `http://example.com/items/bar` (несуществующий `item_id` `"bar"`), то он получит статус-код 404 (ошибка "не найдено") и JSON-ответ в виде:
    
    ```JSON
    {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  4. scripts/playwright/separate_openapi_schemas/image01.py

        # Update the viewport manually
        context = browser.new_context(viewport={"width": 960, "height": 1080})
        page = context.new_page()
        page.goto("http://localhost:8000/docs")
        page.get_by_text("POST/items/Create Item").click()
        page.get_by_role("tab", name="Schema").first.click()
        # Manually add the screenshot
        page.screenshot(
            path="docs/en/docs/img/tutorial/separate-openapi-schemas/image01.png"
        )
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Sep 13 09:14:46 GMT 2024
    - 974 bytes
    - Click Count (0)
  5. docs_src/body_multiple_params/tutorial004_an_py39.py

        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
    
    
    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(gt=0)],
        q: Union[str, None] = None,
    ):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 674 bytes
    - Click Count (0)
  6. src/main/webapp/WEB-INF/view/admin/fileauth/admin_fileauth_details.jsp

                                            <th><la:message key="labels.file_auth_scheme"/></th>
                                            <td><c:forEach var="item"
                                                           items="${protocolSchemeItems}">
                                                <c:if test="${protocolScheme==item.value}">${f:h(item.label)}</c:if>
                                            </c:forEach> <la:hidden property="protocolScheme"/></td>
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 13 05:54:52 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  7. README.md

    ### Check it
    
    Open your browser at <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>.
    
    You will see the JSON response as:
    
    ```JSON
    {"item_id": 5, "q": "somequery"}
    ```
    
    You already created an API that:
    
    * Receives HTTP requests in the _paths_ `/` and `/items/{item_id}`.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Dec 25 11:01:37 GMT 2025
    - 26.4K bytes
    - Click Count (0)
  8. docs/uk/docs/tutorial/query-params-str-validations.md

    #### Випадковий елемент
    
    За допомогою `data.items()` ми отримуємо <abbr title="Об'єкт, який можна перебирати в циклі, як-от список чи множину.">ітерабельний об'єкт</abbr> із кортежами, що містять ключ і значення для кожного елемента словника.
    
    Ми перетворюємо цей ітерабельний об'єкт у звичайний `list` за допомогою `list(data.items())`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri May 30 14:17:24 GMT 2025
    - 26.1K bytes
    - Click Count (0)
  9. .github/workflows/team-triage-stale.yml

    name: 'Requeue stale team-triage items'
    on:
      schedule:
        # Execute every day at 00:05 to avoid conflicts with other workflows
        - cron: '5 0 * * *'
    
    permissions: {}
    
    jobs:
      requeue:
        permissions:
          issues: write
          pull-requests: write
        runs-on: ubuntu-latest
        steps:
          - uses: actions/stale@v10
            with:
              operations-per-run: 50
              remove-stale-when-updated: false
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Sep 04 22:13:29 GMT 2025
    - 836 bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/reqheader/AdminReqheaderAction.java

                return entity;
            });
        }
    
        /**
         * Registers web configuration items for rendering in the UI.
         *
         * @param data the render data to populate with web config items
         */
        protected void registerWebConfigItems(final RenderData data) {
            final List<Map<String, String>> itemList = new ArrayList<>();
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 17.7K bytes
    - Click Count (0)
Back to Top