Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for keyword (0.21 sec)

  1. fastapi/param_functions.py

                This will be used to extract the data and for the generated OpenAPI.
                It is particularly useful when you can't use the name you want because it
                is a Python reserved keyword or similar.
                """
            ),
        ] = None,
        alias_priority: Annotated[
            Union[int, None],
            Doc(
                """
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 62.5K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/path-params-numeric-validations.md

    Übergeben Sie der Funktion `*` als ersten Parameter.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 17:59:29 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  3. docs/ko/docs/tutorial/dependencies/classes-as-dependencies.md

    파이썬에서의 "**호출 가능**"은 파이썬이 함수처럼 "호출"할 수 있는 모든 것입니다.
    
    따라서, 만약 당신이 `something`(함수가 아닐 수도 있음) 객체를 가지고 있고,
    
    ```Python
    something()
    ```
    
    또는
    
    ```Python
    something(some_argument, some_keyword_argument="foo")
    ```
    
    상기와 같은 방식으로 "호출(실행)" 할 수 있다면 "호출 가능"이 됩니다.
    
    ## 의존성으로서의 클래스
    
    파이썬 클래스의 인스턴스를 생성하기 위해 사용하는 것과 동일한 문법을 사용한다는 걸 알 수 있습니다.
    
    예를 들어:
    
    ```Python
    class Cat:
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Feb 11 13:48:31 GMT 2024
    - 8K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/extra-models.md

    So, we get a Pydantic model from the data in another Pydantic model.
    
    #### Unwrapping a `dict` and extra keywords
    
    And then adding the extra keyword argument `hashed_password=hashed_password`, like in:
    
    ```Python
    UserInDB(**user_in.dict(), hashed_password=hashed_password)
    ```
    
    ...ends up being like:
    
    ```Python
    UserInDB(
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.7K bytes
    - Viewed (1)
  5. 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)
  6. 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)
  7. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    So, if you have an object `something` (that might _not_ be a function) and you can "call" it (execute it) like:
    
    ```Python
    something()
    ```
    
    or
    
    ```Python
    something(some_argument, some_keyword_argument="foo")
    ```
    
    then it is a "callable".
    
    ## Classes as dependencies
    
    You might notice that to create an instance of a Python class, you use that same syntax.
    
    For example:
    
    ```Python
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/schema-extra-example.md

    !!! info
        OpenAPI 3.1.0 (used since FastAPI 0.99.0) added support for `examples`, which is part of the **JSON Schema** standard.
    
        Before that, it only supported the keyword `example` with a single example. That is still supported by OpenAPI 3.1.0, but is deprecated and is not part of the JSON Schema standard. So you are encouraged to migrate `example` to `examples`. 🤓
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top