Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Ball (0.23 sec)

  1. 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(
                """
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 62.5K bytes
    - Viewed (0)
  2. fastapi/security/http.py

        ):
            self.model = HTTPBaseModel(scheme=scheme, description=description)
            self.scheme_name = scheme_name or self.__class__.__name__
            self.auto_error = auto_error
    
        async def __call__(
            self, request: Request
        ) -> Optional[HTTPAuthorizationCredentials]:
            authorization = request.headers.get("Authorization")
            scheme, credentials = get_authorization_scheme_param(authorization)
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Apr 19 15:29:38 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  3. fastapi/openapi/utils.py

                if security_definitions:
                    security_schemes.update(security_definitions)
                all_route_params = get_flat_params(route.dependant)
                operation_parameters = get_openapi_operation_parameters(
                    all_route_params=all_route_params,
                    schema_generator=schema_generator,
                    model_name_map=model_name_map,
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 21.8K bytes
    - Viewed (0)
  4. fastapi/security/api_key.py

                name=name,
                description=description,
            )
            self.scheme_name = scheme_name or self.__class__.__name__
            self.auto_error = auto_error
    
        async def __call__(self, request: Request) -> Optional[str]:
            api_key = request.query_params.get(self.model.name)
            if not api_key:
                if self.auto_error:
                    raise HTTPException(
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 23 22:29:18 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  5. fastapi/_compat.py

                )
    
            def get_default(self) -> Any:
                if self.field_info.is_required():
                    return Undefined
                return self.field_info.get_default(call_default_factory=True)
    
            def validate(
                self,
                value: Any,
                values: Dict[str, Any] = {},  # noqa: B006
                *,
                loc: Tuple[Union[int, str], ...] = (),
    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)
  6. configure.py

                'from distutils.sysconfig import get_python_lib;'
                'print(get_python_lib())'
            ])
        ]
    
      all_paths = set(python_paths + library_paths)
      # Sort set so order is deterministic
      all_paths = sorted(all_paths)
    
      paths = []
      for path in all_paths:
        if os.path.isdir(path):
          paths.append(path)
      return paths
    
    
    def get_python_major_version(python_bin_path):
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (0)
Back to top