Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 25 for Call (0.02 seconds)

  1. fastapi/dependencies/utils.py

            sub_dependant.call = cast(Callable[..., Any], sub_dependant.call)
            call = sub_dependant.call
            use_sub_dependant = sub_dependant
            if (
                dependency_overrides_provider
                and dependency_overrides_provider.dependency_overrides
            ):
                original_call = sub_dependant.call
                call = getattr(
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 37.6K bytes
    - Click Count (3)
  2. fastapi/param_functions.py

        dependency: Annotated[
            Optional[Callable[..., Any]],
            Doc(
                """
                A "dependable" callable (like a function).
    
                Don't call it directly, FastAPI will call it for you, just pass the object
                directly.
                """
            ),
        ] = None,
        *,
        use_cache: Annotated[
            bool,
            Doc(
                """
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 63K bytes
    - Click Count (0)
  3. fastapi/routing.py

        # facilitate profiling endpoints, since inner functions are harder to profile.
        assert dependant.call is not None, "dependant.call must be a function"
    
        if is_coroutine:
            return await dependant.call(**values)
        else:
            return await run_in_threadpool(dependant.call, **values)
    
    
    def get_request_handler(
        dependant: Dependant,
        body_field: Optional[ModelField] = None,
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 174.6K bytes
    - Click Count (0)
  4. fastapi/_compat/v2.py

    ) -> type[BaseModel]:
        field_params = {f.name: (f.field_info.annotation, f.field_info) for f in fields}
        BodyModel: type[BaseModel] = create_model(model_name, **field_params)  # type: ignore[call-overload]
        return BodyModel
    
    
    def get_model_fields(model: type[BaseModel]) -> list[ModelField]:
        model_fields: list[ModelField] = []
        for name, field_info in model.model_fields.items():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 19.1K bytes
    - Click Count (0)
  5. docs/en/docs/release-notes.md

    * `callbacks`: OpenAPI callbacks that apply to all the *path operations*.
    * `deprecated`: to mark all the *path operations* as deprecated. 🤷
    * `include_in_schema`: to allow excluding all the *path operations* from the OpenAPI schema.
    * `responses`: OpenAPI responses that apply to all the *path operations*.
    
    For example:
    
    ```Python
    from fastapi import FastAPI, Depends
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 19:06:15 GMT 2025
    - 586.7K bytes
    - Click Count (0)
  6. .bazelrc

    #     elinux:          General Embedded Linux options shared by all flavors.
    #     elinux_aarch64:  Embedded Linux options for aarch64 (ARM64) CPU support.
    #     elinux_armhf:    Embedded Linux options for armhf (ARMv7) CPU support.
    #
    # Release build options (for all operating systems)
    #     release_base:                    Common options for all builds on all operating systems.
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Fri Dec 26 23:20:26 GMT 2025
    - 56.8K bytes
    - Click Count (0)
  7. tests/test_tutorial/test_path_operation_configurations/test_tutorial003_tutorial004.py

    from fastapi.testclient import TestClient
    
    from ...utils import needs_py310
    
    DESCRIPTIONS = {
        "tutorial003": "Create an item with all the information, name, description, price, tax and a set of unique tags",
        "tutorial004": dedent("""
            Create an item with all the information:
    
            - **name**: each item must have a name
            - **description**: a long description
            - **price**: required
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 7K bytes
    - Click Count (0)
  8. docs/de/docs/advanced/dataclasses.md

    In einigen Fällen müssen Sie möglicherweise immer noch Pydantics Version von `dataclasses` verwenden. Zum Beispiel, wenn Sie Fehler in der automatisch generierten API-Dokumentation haben.
    
    In diesem Fall können Sie einfach die Standard-`dataclasses` durch `pydantic.dataclasses` ersetzen, was einen direkten Ersatz darstellt:
    
    {* ../../docs_src/dataclasses_/tutorial003_py310.py hl[1,4,7:10,13:16,22:24,27] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 5K bytes
    - Click Count (0)
  9. fastapi/_compat/shared.py

                    continue
                elif not field_annotation_is_scalar(arg):
                    return False
            return at_least_one_scalar_sequence
        return field_annotation_is_sequence(annotation) and all(
            field_annotation_is_scalar(sub_annotation)
            for sub_annotation in get_args(annotation)
        )
    
    
    def is_bytes_or_nonable_bytes_annotation(annotation: Any) -> bool:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  10. .teamcity/src/main/kotlin/configurations/BuildLogicTest.kt

        model: CIBuildModel,
        stage: Stage,
    ) : OsAwareBaseGradleBuildType(os = Os.LINUX, stage = stage, init = {
            id(buildTypeId(model))
            name = "Build-logic checks"
            description = "Run check on all build-logic builds"
    
            features {
                publishBuildStatusToGithub(model)
            }
    
            applyDefaults(
                model,
                this,
                "checkBuildLogic",
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 04:30:54 GMT 2025
    - 1.1K bytes
    - Click Count (0)
Back to Top