Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for plit (0.16 sec)

  1. fastapi/security/http.py

    
    class HTTPAuthorizationCredentials(BaseModel):
        """
        The HTTP authorization credentials in the result of using `HTTPBearer` or
        `HTTPDigest` in a dependency.
    
        The HTTP authorization header value is split by the first space.
    
        The first part is the `scheme`, the second part is the `credentials`.
    
        For example, in an HTTP Bearer token scheme, the client will send a header
        like:
    
        ```
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Apr 19 15:29:38 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  2. fastapi/security/oauth2.py

                    """
                ),
            ] = None,
        ):
            self.grant_type = grant_type
            self.username = username
            self.password = password
            self.scopes = scope.split()
            self.client_id = client_id
            self.client_secret = client_secret
    
    
    class OAuth2PasswordRequestFormStrict(OAuth2PasswordRequestForm):
        """
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 21.1K bytes
    - Viewed (1)
  3. fastapi/openapi/docs.py

                    qp = window.location.hash.substring(1).replace('?', '&');
                } else {
                    qp = location.search.substring(1);
                }
    
                arr = qp.split("&");
                arr.forEach(function (v,i,_arr) { _arr[i] = '"' + v.replace('=', '":"') + '"';});
                qp = qp ? JSON.parse('{' + arr.join() + '}',
                        function (key, value) {
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  4. configure.py

                               allow_non_zero=True,
                               stderr=stderr)
    
      curr_version_split = curr_version.lower().split('clang version ')
      if len(curr_version_split) > 1:
        curr_version = curr_version_split[1].split()[0]
    
      curr_version_int = convert_version_to_int(curr_version)
      # Check if current clang version can be detected properly.
      if not curr_version_int:
    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)
  5. fastapi/_compat.py

                )
                definitions.update(m_definitions)
                model_name = model_name_map[model]
                if "description" in m_schema:
                    m_schema["description"] = m_schema["description"].split("\f")[0]
                definitions[model_name] = m_schema
            return definitions
    
        def is_pv1_scalar_field(field: ModelField) -> bool:
            from fastapi import params
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  6. fastapi/routing.py

    
    async def run_endpoint_function(
        *, dependant: Dependant, values: Dict[str, Any], is_coroutine: bool
    ) -> Any:
        # Only called by get_request_handler. Has been split into its own function to
        # 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:
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
Back to top