Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for colonne (0.19 sec)

  1. fastapi/security/oauth2.py

            return data
        ```
    
        Note that for OAuth2 the scope `items:read` is a single scope in an opaque string.
        You could have custom internal logic to separate it by colon caracters (`:`) or
        similar, and get the two parts `items` and `read`. Many applications do that to
        group and organize permissions, you could do it as well in your application, just
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 21.1K bytes
    - Viewed (1)
  2. fastapi/routing.py

                self.response_field = create_response_field(
                    name=response_name,
                    type_=self.response_model,
                    mode="serialization",
                )
                # Create a clone of the field, so that a Pydantic submodel is not returned
                # as is just because it's an instance of a subclass of a more limited class
                # e.g. UserInDB (containing hashed_password) could be a subclass of User
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
Back to top