Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for leash (0.14 sec)

  1. docs/en/docs/deployment/concepts.md

    ### Restart After Crash
    
    But in those cases with really bad errors that crash the running **process**, you would want an external component that is in charge of **restarting** the process, at least a couple of times...
    
    !!! tip
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 18K bytes
    - Viewed (0)
  2. docs/en/docs/deployment/https.md

    * **Modify some DNS records**.
        * For this, the renewal program needs to support the APIs of the DNS provider, so, depending on the DNS provider you are using, this might or might not be an option.
    * **Run as a server** (at least during the certificate acquisition process) on the public IP address associated with the domain.
        * As we said above, only one process can be listening on a specific IP and port.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 12K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/dependencies/index.md

        If you have an older version, you would get errors when trying to use `Annotated`.
    
        Make sure you [Upgrade the FastAPI version](../../deployment/versions.md#upgrading-the-fastapi-versions){.internal-link target=_blank} to at least 0.95.1 before using `Annotated`.
    
    ### Import `Depends`
    
    === "Python 3.10+"
    
        ```Python hl_lines="3"
        {!> ../../../docs_src/dependencies/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/query-params-str-validations.md

        If you have an older version, you would get errors when trying to use `Annotated`.
    
        Make sure you [Upgrade the FastAPI version](../deployment/versions.md#upgrading-the-fastapi-versions){.internal-link target=_blank} to at least 0.95.1 before using `Annotated`.
    
    ## Use `Annotated` in the type for the `q` parameter
    
    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)
  5. docs/en/docs/async.md

    Still, in both situations, chances are that **FastAPI** will [still be faster](index.md#performance){.internal-link target=_blank} than (or at least comparable to) your previous framework.
    
    ### Dependencies
    
    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)
  6. tests/test_annotated.py

                    "msg": "String should have at least 1 character",
                    "type": "string_too_short",
                    "input": "",
                }
            )
            # TODO: remove when deprecating Pydantic v1
            | IsDict(
                {
                    "ctx": {"limit_value": 1},
                    "loc": ["query", "foo"],
                    "msg": "ensure this value has at least 1 characters",
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  7. fastapi/_compat.py

        if origin is Union or origin is UnionType:
            at_least_one_scalar_sequence = False
            for arg in get_args(annotation):
                if field_annotation_is_scalar_sequence(arg):
                    at_least_one_scalar_sequence = True
                    continue
                elif not field_annotation_is_scalar(arg):
                    return False
            return at_least_one_scalar_sequence
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  8. tests/test_path.py

                        "msg": "String should have at least 2 characters",
                        "input": "f",
                        "ctx": {"min_length": 2},
                    }
                ]
            }
        ) | IsDict(
            {
                "detail": [
                    {
                        "loc": ["path", "item_id"],
                        "msg": "ensure this value has at least 2 characters",
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 34.4K bytes
    - Viewed (0)
  9. docs/en/docs/deployment/docker.md

    But it's not possible to have a running container without **at least one running process**. If the main process stops, the container stops.
    
    ## Build a Docker Image for FastAPI
    
    Okay, let's build something now! 🚀
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 34K bytes
    - Viewed (0)
Back to top