Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 112 for rick (0.13 seconds)

  1. tests/test_openapi_separate_input_output_schemas.py

            return item
    
        @app.get("/items/")
        def read_items() -> list[Item]:
            return [
                Item(
                    name="Portal Gun",
                    description="Device to travel through the multi-rick-verse",
                    sub=SubItem(subname="subname"),
                ),
                Item(name="Plumbus"),
            ]
    
        @app.post("/with-computed-field/")
        def create_with_computed_field(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 27.8K bytes
    - Click Count (0)
  2. docs/ko/docs/advanced/settings.md

        end
    
        rect rgba(0, 255, 0, .1)
            code ->> function: say_hi(name="Rick")
            function ->> execute: execute function code
            execute ->> code: return the result
        end
    
        rect rgba(0, 255, 0, .1)
            code ->> function: say_hi(name="Rick", salutation="Mr.")
            function ->> execute: execute function code
            execute ->> code: return the result
        end
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/query-params-str-validations.md

    ```Python
    q: Annotated[str, Query(default="rick")] = "morty"
    ```
    
    ...because it's not clear if the default value should be `"rick"` or `"morty"`.
    
    So, you would use (preferably):
    
    ```Python
    q: Annotated[str, Query()] = "rick"
    ```
    
    ...or in older code bases you will find:
    
    ```Python
    q: str = Query(default="rick")
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  4. docs/zh-hant/docs/advanced/settings.md

        end
    
        rect rgba(0, 255, 0, .1)
            code ->> function: say_hi(name="Rick")
            function ->> execute: execute function code
            execute ->> code: return the result
        end
    
        rect rgba(0, 255, 0, .1)
            code ->> function: say_hi(name="Rick", salutation="Mr.")
            function ->> execute: execute function code
            execute ->> code: return the result
        end
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  5. docs/en/docs/advanced/settings.md

        end
    
        rect rgba(0, 255, 0, .1)
            code ->> function: say_hi(name="Rick")
            function ->> execute: execute function code
            execute ->> code: return the result
        end
    
        rect rgba(0, 255, 0, .1)
            code ->> function: say_hi(name="Rick", salutation="Mr.")
            function ->> execute: execute function code
            execute ->> code: return the result
        end
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  6. docs/ko/docs/tutorial/query-params-str-validations.md

    예를 들어, 다음은 허용되지 않습니다:
    
    ```Python
    q: Annotated[str, Query(default="rick")] = "morty"
    ```
    
    ...왜냐하면 기본값이 `"rick"`인지 `"morty"`인지 명확하지 않기 때문입니다.
    
    따라서 (가능하면) 다음과 같이 사용합니다:
    
    ```Python
    q: Annotated[str, Query()] = "rick"
    ```
    
    ...또는 오래된 코드베이스에서는 다음과 같은 코드를 찾게 될 것입니다:
    
    ```Python
    q: str = Query(default="rick")
    ```
    
    ### `Annotated`의 장점 { #advantages-of-annotated }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  7. docs/ja/docs/advanced/settings.md

        end
    
        rect rgba(0, 255, 0, .1)
            code ->> function: say_hi(name="Rick")
            function ->> execute: execute function code
            execute ->> code: return the result
        end
    
        rect rgba(0, 255, 0, .1)
            code ->> function: say_hi(name="Rick", salutation="Mr.")
            function ->> execute: execute function code
            execute ->> code: return the result
        end
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 12.7K bytes
    - Click Count (0)
  8. docs/zh/docs/advanced/settings.md

            code ->> function: say_hi(name="Rick")
            function ->> execute: 执行函数代码
            execute ->> code: 返回结果
        end
    
        rect rgba(0, 255, 0, .1)
            code ->> function: say_hi(name="Rick", salutation="Mr.")
            function ->> execute: 执行函数代码
            execute ->> code: 返回结果
        end
    
        rect rgba(0, 255, 255, .1)
            code ->> function: say_hi(name="Rick")
            function ->> code: 返回存储的结果
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  9. docs/zh/docs/tutorial/query-params-str-validations.md

    相反,应使用函数参数本身的实际默认值。否则会不一致。
    
    例如,下面这样是不允许的:
    
    ```Python
    q: Annotated[str, Query(default="rick")] = "morty"
    ```
    
    ...因为不清楚默认值应该是 `"rick"` 还是 `"morty"`。
    
    因此,你应该这样用(推荐):
    
    ```Python
    q: Annotated[str, Query()] = "rick"
    ```
    
    ...或者在旧代码库中你会见到:
    
    ```Python
    q: str = Query(default="rick")
    ```
    
    ### `Annotated` 的优势 { #advantages-of-annotated }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 15.4K bytes
    - Click Count (0)
  10. docs/ja/docs/tutorial/query-params-str-validations.md

    例えば、これは許可されません:
    
    ```Python
    q: Annotated[str, Query(default="rick")] = "morty"
    ```
    
    ...なぜなら、デフォルト値が `"rick"` なのか `"morty"` なのかが不明確だからです。
    
    そのため、(できれば)次のようにします:
    
    ```Python
    q: Annotated[str, Query()] = "rick"
    ```
    
    ...または、古いコードベースでは次のようなものが見つかるでしょう:
    
    ```Python
    q: str = Query(default="rick")
    ```
    
    ### `Annotated` の利点 { #advantages-of-annotated }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 20.3K bytes
    - Click Count (0)
Back to Top