Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for keywords (0.15 sec)

  1. docs/en/docs/release-notes.md

    * Fix testing OAuth2 security scopes when using dependency overrides. PR [#1549](https://github.com/tiangolo/fastapi/pull/1549) by [@amacfie](https://github.com/amacfie).
    * Fix Model for JSON Schema keyword `not` as a JSON Schema instead of a list. PR [#1548](https://github.com/tiangolo/fastapi/pull/1548) by [@v-do](https://github.com/v-do).
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:42 GMT 2024
    - 388.1K bytes
    - Viewed (1)
  2. docs/ja/docs/tutorial/dependencies/classes-as-dependencies.md

    Pythonにおける「**呼び出し可能**」とは、Pythonが関数のように「呼び出す」ことができるものを指します。
    
    そのため、`something`オブジェクト(関数ではないかもしれませんが)を持っていて、それを次のように「呼び出す」(実行する)ことができるとします:
    
    ```Python
    something()
    ```
    
    または
    
    ```Python
    something(some_argument, some_keyword_argument="foo")
    ```
    
    これを「呼び出し可能」なものと呼びます。
    
    ## 依存関係としてのクラス
    
    Pythonのクラスのインスタンスを作成する際に、同じ構文を使用していることに気づくかもしれません。
    
    例えば:
    
    ```Python
    class Cat:
        def __init__(self, name: str):
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jan 15 16:08:16 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/dependencies/classes-as-dependencies.md

    Wenn Sie also ein Objekt `something` haben (das möglicherweise _keine_ Funktion ist) und Sie es wie folgt aufrufen (ausführen) können:
    
    ```Python
    something()
    ```
    
    oder
    
    ```Python
    something(some_argument, some_keyword_argument="foo")
    ```
    
    dann ist das ein „Callable“ (ein „Aufrufbares“).
    
    ## Klassen als Abhängigkeiten
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:01:58 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_extra_models/test_tutorial005_py39.py

                        "summary": "Read Keyword Weights",
                        "operationId": "read_keyword_weights_keyword_weights__get",
                    }
                }
            },
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  5. docs_src/extra_models/tutorial005_py39.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/keyword-weights/", response_model=dict[str, float])
    async def read_keyword_weights():
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jan 07 14:11:31 GMT 2022
    - 180 bytes
    - Viewed (0)
  6. fastapi/applications.py

                    another one for output.
                    """
                ),
            ] = True,
            **extra: Annotated[
                Any,
                Doc(
                    """
                    Extra keyword arguments to be stored in the app, not used by FastAPI
                    anywhere.
                    """
                ),
            ],
        ) -> None:
            self.debug = debug
            self.title = title
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
  7. docs/zh/docs/tutorial/dependencies/classes-as-dependencies.md

    关键因素是依赖项应该是 "可调用对象"。
    
    Python 中的 "**可调用对象**" 是指任何 Python 可以像函数一样 "调用" 的对象。
    
    所以,如果你有一个对象 `something` (可能*不是*一个函数),你可以 "调用" 它(执行它),就像:
    
    ```Python
    something()
    ```
    
    或者
    
    ```Python
    something(some_argument, some_keyword_argument="foo")
    ```
    
    这就是 "可调用对象"。
    
    ## 类作为依赖项
    
    您可能会注意到,要创建一个 Python 类的实例,您可以使用相同的语法。
    
    举个例子:
    
    ```Python
    class Cat:
        def __init__(self, name: str):
            self.name = name
    
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  8. docs/em/docs/tutorial/dependencies/classes-as-dependencies.md

    "**🇧🇲**" 🐍 🕳 👈 🐍 💪 "🤙" 💖 🔢.
    
    , 🚥 👆 ✔️ 🎚 `something` (👈 💪 _🚫_ 🔢) & 👆 💪 "🤙" ⚫️ (🛠️ ⚫️) 💖:
    
    ```Python
    something()
    ```
    
    ⚖️
    
    ```Python
    something(some_argument, some_keyword_argument="foo")
    ```
    
    ⤴️ ⚫️ "🇧🇲".
    
    ## 🎓 🔗
    
    👆 5️⃣📆 👀 👈 ✍ 👐 🐍 🎓, 👆 ⚙️ 👈 🎏 ❕.
    
    🖼:
    
    ```Python
    class Cat:
        def __init__(self, name: str):
            self.name = name
    
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 6K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/sql-databases.md

    !!! tip
        Instead of passing each of the keyword arguments to `Item` and reading each one of them from the Pydantic *model*, we are generating a `dict` with the Pydantic *model*'s data with:
    
        `item.dict()`
    
        and then we are passing the `dict`'s key-value pairs as the keyword arguments to the SQLAlchemy `Item`, with:
    
        `Item(**item.dict())`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/path-params-numeric-validations.md

    ...Python has a little special syntax for that.
    
    Pass `*`, as the first parameter of the function.
    
    Python won't do anything with that `*`, but it will know that all the following parameters should be called as keyword arguments (key-value pairs), also known as <abbr title="From: K-ey W-ord Arg-uments"><code>kwargs</code></abbr>. Even if they don't have a default value.
    
    ```Python hl_lines="7"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 9.1K bytes
    - Viewed (0)
Back to top