Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for in_ (0.01 sec)

  1. fastapi/params.py

            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,
                alias_priority=alias_priority,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 06 18:06:20 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  2. fastapi/dependencies/utils.py

        if field_info is not None:
            # Handle field_info.in_
            if is_path_param:
                assert isinstance(field_info, params.Path), (
                    f"Cannot use `{field_info.__class__.__name__}` for path param"
                    f" {param_name!r}"
                )
            elif (
                isinstance(field_info, params.Param)
                and getattr(field_info, "in_", None) is None
            ):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 21:46:26 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  3. fastapi/openapi/models.py

        # Serialization rules for more complex scenarios
        content: Optional[Dict[str, MediaType]] = None
    
    
    class Parameter(ParameterBase):
        name: str
        in_: ParameterInType = Field(alias="in")
    
    
    class Header(ParameterBase):
        pass
    
    
    class RequestBody(BaseModelWithConfig):
        description: Optional[str] = None
        content: Dict[str, MediaType]
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 22:49:33 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top