Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for funciona (0.05 sec)

  1. docs/pt/docs/advanced/dataclasses.md

    E claro, ele suporta o mesmo:
    
    * validação de dados
    * serialização de dados
    * documentação de dados, etc.
    
    Isso funciona da mesma forma que com os modelos Pydantic. E na verdade é alcançado da mesma maneira por baixo dos panos, usando Pydantic.
    
    /// info | Informação
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. docs/es/docs/advanced/dataclasses.md

    8. Nota que esta *path operation function* usa `def` regular en lugar de `async def`.
    
        Como siempre, en FastAPI puedes combinar `def` y `async def` según sea necesario.
    
        Si necesitas un repaso sobre cuándo usar cuál, revisa la sección _"¿Con prisa?"_ en la documentación sobre [`async` y `await`](../async.md#in-a-hurry){.internal-link target=_blank}.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. fastapi/datastructures.py

    
    class UploadFile(StarletteUploadFile):
        """
        A file uploaded in a request.
    
        Define it as a *path operation function* (or dependency) parameter.
    
        If you are using a regular `def` function, you can use the `upload_file.file`
        attribute to access the raw standard Python file (blocking, not async), useful and
        needed for non-async code.
    
        Read more about it in the
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  4. docs/zh/llm-prompt.md

    ### Preferred translations / glossary
    
    Use the following preferred translations when they apply in documentation prose:
    
    - request (HTTP): 请求
    - response (HTTP): 响应
    - path operation: 路径操作
    - path operation function: 路径操作函数
    
    ### `///` admonitions
    
    1) Keep the admonition keyword in English (do not translate `note`, `tip`, etc.).
    2) If a title is present, prefer these canonical titles:
    
    - `/// tip | 提示`
    - `/// note | 注意`
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:49:08 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/dataclasses.md

    8. Notice that this *path operation function* uses regular `def` instead of `async def`.
    
        As always, in FastAPI you can combine `def` and `async def` as needed.
    
        If you need a refresher about when to use which, check out the section _"In a hurry?"_ in the docs about [`async` and `await`](../async.md#in-a-hurry){.internal-link target=_blank}.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. fastapi/exceptions.py

    from starlette.exceptions import HTTPException as StarletteHTTPException
    from starlette.exceptions import WebSocketException as StarletteWebSocketException
    
    
    class EndpointContext(TypedDict, total=False):
        function: str
        path: str
        file: str
        line: int
    
    
    class HTTPException(StarletteHTTPException):
        """
        An HTTP exception you can raise in your own code to show errors to the client.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  7. docs/zh-hant/llm-prompt.md

    3. Use the following preferred translations when they apply in documentation prose:
    
    - request (HTTP): 請求
    - response (HTTP): 回應
    - path operation: 路徑操作
    - path operation function: 路徑操作函式
    
    The translation can optionally include the original English text only in the first occurrence of each page (e.g. "路徑操作 (path operation)") if the translation is hard to be comprehended by most of the Chinese readers.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:49:46 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  8. fastapi/dependencies/utils.py

                    and param_details.depends.scope == "function"
                ):
                    assert dependant.call
                    raise DependencyScopeError(
                        f'The dependency "{dependant.call.__name__}" has a scope of '
                        '"request", it cannot depend on dependencies with scope "function".'
                    )
                sub_own_oauth_scopes: list[str] = []
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 37.6K bytes
    - Viewed (3)
  9. pyproject.toml

        "I",  # isort
        "B",  # flake8-bugbear
        "C4",  # flake8-comprehensions
        "UP",  # pyupgrade
    ]
    ignore = [
        "E501",  # line too long, handled by black
        "B008",  # do not perform function calls in argument defaults
        "C901",  # too complex
        "W191",  # indentation contains tabs
    ]
    
    [tool.ruff.lint.per-file-ignores]
    "__init__.py" = ["F401"]
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. fastapi/openapi/utils.py

            operation["description"] = route.description
        operation_id = route.operation_id or route.unique_id
        if operation_id in operation_ids:
            message = (
                f"Duplicate Operation ID {operation_id} for function "
                + f"{route.endpoint.__name__}"
            )
            file_name = getattr(route.endpoint, "__globals__", {}).get("__file__")
            if file_name:
                message += f" at {file_name}"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 23.2K bytes
    - Viewed (0)
Back to top