Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for generado (0.07 sec)

  1. fastapi/param_functions.py

                """
            ),
        ] = ...,
        *,
        default_factory: Annotated[
            Union[Callable[[], Any], None],
            Doc(
                """
                A callable to generate the default value.
    
                This doesn't affect `Path` parameters as the value is always required.
                The parameter is available only for compatibility.
                """
            ),
        ] = _Unset,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 63K bytes
    - Viewed (0)
  2. fastapi/routing.py

                    Customize the function used to generate unique IDs for the *path
                    operations* shown in the generated OpenAPI.
    
                    This is particularly useful when automatically generating clients or
                    SDKs for your API.
    
                    Read more about it in the
                    [FastAPI docs about how to Generate Clients](https://fastapi.tiangolo.com/advanced/generate-clients/#custom-generate-unique-id-function).
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 174.6K bytes
    - Viewed (0)
  3. .pre-commit-config.yaml

            args:
              - --update-existing
            files: ^docs/en/docs/.*\.md$
    
          - id: generate-readme
            language: unsupported
            name: generate README.md from index.md
            entry: uv run ./scripts/docs.py generate-readme
            files: ^docs/en/docs/index\.md|docs/en/data/sponsors\.yml|scripts/docs\.py$
            pass_filenames: false
    
          - id: update-languages
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 11:36:58 UTC 2025
    - 1.8K bytes
    - Viewed (1)
  4. docs/es/docs/advanced/dataclasses.md

    En algunos casos, todavía podrías tener que usar la versión de `dataclasses` de Pydantic. Por ejemplo, si tienes errores con la documentación de la API generada automáticamente.
    
    En ese caso, simplemente puedes intercambiar los `dataclasses` estándar con `pydantic.dataclasses`, que es un reemplazo directo:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. scripts/docs.py

        # For MacOS with Cairo
        os.environ["DYLD_FALLBACK_LIBRARY_PATH"] = "/opt/homebrew/lib"
    
    
    @app.command()
    def new_lang(lang: str = typer.Argument(..., callback=lang_callback)):
        """
        Generate a new docs translation directory for the language LANG.
        """
        new_path: Path = Path("docs") / lang
        if new_path.exists():
            typer.echo(f"The language was already created: {lang}")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Dec 21 17:40:17 UTC 2025
    - 16.9K bytes
    - Viewed (0)
  6. fastapi/openapi/utils.py

            current_response_class: type[Response] = route.response_class.value
        else:
            current_response_class = route.response_class
        assert current_response_class, "A response class is needed to generate OpenAPI"
        route_response_media_type: Optional[str] = current_response_class.media_type
        if route.include_in_schema:
            for method in route.methods:
                operation = get_openapi_operation_metadata(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  7. fastapi/_compat/v2.py

            (field.validation_alias or field.alias)
            if field.mode == "validation"
            else (field.serialization_alias or field.alias)
        )
    
        # This expects that GenerateJsonSchema was already used to generate the definitions
        json_schema = field_mapping[(field, override_mode or field.mode)]
        if "$ref" not in json_schema:
            # TODO remove when deprecating Pydantic v1
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  8. README.md

    <a href="https://liblab.com?utm_source=fastapi" target="_blank" title="liblab - Generate SDKs from FastAPI"><img src="https://fastapi.tiangolo.com/img/sponsors/liblab.png"></a>
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Dec 25 11:01:37 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  9. tests/test_application.py

            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "externalDocs": {
                "description": "External API documentation.",
                "url": "https://docs.example.com/api-general",
            },
            "paths": {
                "/api_route": {
                    "get": {
                        "responses": {
                            "200": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 51.9K bytes
    - Viewed (0)
  10. fastapi/dependencies/utils.py

        all body parameters into a single field if necessary.
    
        Used to check if it's form data (with `isinstance(body_field, params.Form)`)
        or JSON and to generate the JSON Schema for a request body.
    
        This is **not** used to validate/parse the request body, that's done with each
        individual body parameter.
        """
        if not flat_dependant.body_params:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 37.6K bytes
    - Viewed (3)
Back to top