Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 671 - 680 of 1,169 for item01 (0.07 seconds)

  1. docs_src/handling_errors/tutorial006_py310.py

    @app.exception_handler(RequestValidationError)
    async def validation_exception_handler(request, exc):
        print(f"OMG! The client sent invalid data!: {exc}")
        return await request_validation_exception_handler(request, exc)
    
    
    @app.get("/items/{item_id}")
    async def read_item(item_id: int):
        if item_id == 3:
            raise HTTPException(status_code=418, detail="Nope! I don't like 3.")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 928 bytes
    - Click Count (0)
  2. docs/tr/docs/how-to/separate-openapi-schemas.md

    OpenAPI içindeki tüm kullanılabilir Schema'lara (JSON Schema'lara) bakarsanız, iki tane olduğunu göreceksiniz: biri `Item-Input`, diğeri `Item-Output`.
    
    `Item-Input` için `description` **required değildir**, kırmızı yıldız yoktur.
    
    Ama `Item-Output` için `description` **required**'dır, kırmızı yıldız vardır.
    
    <div class="screenshot">
    <img src="/img/tutorial/separate-openapi-schemas/image04.png">
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 05 15:43:38 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  3. docs/ko/docs/advanced/path-operation-advanced-configuration.md

    ```JSON hl_lines="22"
    {
        "openapi": "3.1.0",
        "info": {
            "title": "FastAPI",
            "version": "0.1.0"
        },
        "paths": {
            "/items/": {
                "get": {
                    "summary": "Read Items",
                    "operationId": "read_items_items__get",
                    "responses": {
                        "200": {
                            "description": "Successful Response",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  4. src/main/webapp/WEB-INF/view/admin/dict/mapping/admin_dict_mapping_edit.jsp

                            <ol class="breadcrumb float-sm-right">
                                <li class="breadcrumb-item"><la:link href="/admin/dict">
                                    <la:message key="labels.dict_list_link"/>
                                </la:link></li>
                                <li class="breadcrumb-item"><la:link href="../list/1/?dictId=${f:u(dictId)}">
                                    <la:message key="labels.dict_mapping_list_link"/>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  5. fastapi/param_functions.py

        from .db import User
        from .security import get_current_active_user
    
        app = FastAPI()
    
        @app.get("/users/me/items/")
        async def read_own_items(
            current_user: Annotated[User, Security(get_current_active_user, scopes=["items"])]
        ):
            return [{"item_id": "Foo", "owner": current_user.username}]
        ```
        """
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 68K bytes
    - Click Count (0)
  6. src/main/webapp/WEB-INF/view/admin/wizard/admin_wizard_start.jsp

                                <li class="breadcrumb-item"><la:link href="/admin/wizard/">
                                    <la:message key="labels.wizard_start_title"/>
                                </la:link></li>
                                <li class="breadcrumb-item"><la:message key="labels.wizard_crawling_config_title"/></li>
                                <li class="breadcrumb-item active"><la:message
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  7. docs/uk/docs/how-to/separate-openapi-schemas.md

    ### Модель для введення та виведення в документації { #model-for-input-and-output-in-docs }
    
    Якщо відкрити всі наявні Схеми (схеми JSON) в OpenAPI, то ви побачите дві: `Item-Input` і `Item-Output`.
    
    Для `Item-Input` поле `description` **не є обов'язковим** - червоної зірочки немає.
    
    А для `Item-Output` `description` **є обов'язковим** - є червона зірочка.
    
    <div class="screenshot">
    <img src="/img/tutorial/separate-openapi-schemas/image04.png">
    </div>
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:43:14 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  8. fastapi/openapi/utils.py

    validation_error_definition = {
        "title": "ValidationError",
        "type": "object",
        "properties": {
            "loc": {
                "title": "Location",
                "type": "array",
                "items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
            },
            "msg": {"title": "Message", "type": "string"},
            "type": {"title": "Error Type", "type": "string"},
            "input": {"title": "Input"},
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  9. ci/official/utilities/extract_resultstore_links.py

          url_lines['end'] = i
        else:
          result_store_links[current_url]['next_url'] = i
          url_lines['start'] = i
        current_url = url
    
      previous_end_line = None
      for url, lines in result_store_links.items():
        lines['status'] = InvokeStatus.passed  # default to passed
        start_line = lines['start']
        end_line = lines.get('end', lines.get('next_url', len(log_lines))) - 1
        k = end_line
        while k > start_line:
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Nov 08 17:50:27 GMT 2023
    - 10.9K bytes
    - Click Count (0)
  10. docs/ja/docs/advanced/behind-a-proxy.md

    例えば、*path operation* `/items/` を定義しているとします:
    
    {* ../../docs_src/behind_a_proxy/tutorial001_01_py310.py hl[6] *}
    
    クライアントが `/items` にアクセスすると、既定では `/items/` にリダイレクトされます。
    
    しかし、*CLI オプション* `--forwarded-allow-ips` を設定する前は、`http://localhost:8000/items/` にリダイレクトされる場合があります。
    
    ですが、アプリケーションは `https://mysuperapp.com` で公開されており、`https://mysuperapp.com/items/` にリダイレクトされるべきかもしれません。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 18.9K bytes
    - Click Count (0)
Back to Top