Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Cannon (0.14 sec)

  1. docs/en/docs/benchmarks.md

        * If you are comparing Starlette, compare it against Sanic, Flask, Django, etc. Web frameworks (or microframeworks).
    * **FastAPI**:
        * The same way that Starlette uses Uvicorn and cannot be faster than it, **FastAPI** uses Starlette, so it cannot be faster than it.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  2. docs/en/docs/alternatives.md

    As the parameters are described with TypeScript types (similar to Python type hints), editor support is quite good.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/path-params.md

    {!../../../docs_src/path_params/tutorial003.py!}
    ```
    
    Otherwise, the path for `/users/{user_id}` would match also for `/users/me`, "thinking" that it's receiving a parameter `user_id` with a value of `"me"`.
    
    Similarly, you cannot redefine a path operation:
    
    ```Python hl_lines="6  11"
    {!../../../docs_src/path_params/tutorial003b.py!}
    ```
    
    The first one will always be used since the path matches first.
    
    ## Predefined values
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  4. fastapi/params.py

            include_in_schema: bool = True,
            json_schema_extra: Union[Dict[str, Any], None] = None,
            **extra: Any,
        ):
            assert default is ..., "Path parameters cannot have a default value"
            self.in_ = self.in_
            super().__init__(
                default=default,
                default_factory=default_factory,
                annotation=annotation,
                alias=alias,
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 27.5K bytes
    - Viewed (1)
  5. docs/en/docs/tutorial/bigger-applications.md

    For this example it will be super simple. But let's say that because it is shared with other projects in the organization, we cannot modify it and add a `prefix`, `dependencies`, `tags`, etc. directly to the `APIRouter`:
    
    ```Python hl_lines="3" title="app/internal/admin.py"
    {!../../../docs_src/bigger_applications/app/internal/admin.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/security/oauth2-jwt.md

    Whenever you pass exactly the same content (exactly the same password) you get exactly the same gibberish.
    
    But you cannot convert from the gibberish back to the password.
    
    ### Why use password hashing
    
    If your database is stolen, the thief won't have your users' plaintext passwords, only the hashes.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13K bytes
    - Viewed (0)
  7. docs/en/docs/python-types.md

    As an example, let's take this function:
    
    ```Python hl_lines="1  4"
    {!../../../docs_src/python_types/tutorial009c.py!}
    ```
    
    The parameter `name` is defined as `Optional[str]`, but it is **not optional**, you cannot call the function without the parameter:
    
    ```Python
    say_hi()  # Oh, no, this throws an error! 😱
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/query-params-str-validations.md

    ### `Query` as the default value or in `Annotated`
    
    Keep in mind that when using `Query` inside of `Annotated` you cannot use the `default` parameter for `Query`.
    
    Instead use the actual default value of the function parameter. Otherwise, it would be inconsistent.
    
    For example, this is not allowed:
    
    ```Python
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 25.7K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/security/simple-oauth2.md

    Whenever you pass exactly the same content (exactly the same password) you get exactly the same gibberish.
    
    But you cannot convert from the gibberish back to the password.
    
    ##### Why use password hashing
    
    If your database is stolen, the thief won't have your users' plaintext passwords, only the hashes.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  10. docs/en/docs/async.md

    <img src="/img/async/parallel-burgers/parallel-burgers-03.png" class="illustration">
    
    As you and your crush are busy not letting anyone get in front of you and take your burgers whenever they arrive, you cannot pay attention to your crush. 😞
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23K bytes
    - Viewed (0)
Back to top