falcon_auth2/getter.py
def load(self, req: Request, *, challenges: Optional[Iterable[str]] = None) -> str:
        """Loads the value from the provided request using the provided getters"""
        is_async = isinstance(req, AsyncRequest)
        for g in self.getters:
            try:
                if is_async and not g.async_calls_sync_load:
                    return await_(g.load_async(req))
                else:
                    return g.load(req)
            except BackendNotApplicable:
                pass
        raise BackendNotApplicable(
            description="No authentication information found", challenges=challenges
        )
Loads the value from the provided request using the provided getters
Loads the value from the provided request using the provided getters
Loads the value from the provided request using the provided getters
def load(self, req: Request, *, challenges: Optional[Iterable[str]] = None) -> str:
        is_async = isinstance(req, AsyncRequest)
        for g in self.getters:
            try:
                if is_async and not g.async_calls_sync_load:
                    return await_(g.load_async(req))
                else:
                    return g.load(req)
            except BackendNotApplicable:
                pass
        raise BackendNotApplicable(
            description="No authentication information found", challenges=challenges
        )
def load ( self , req : Request , * , challenges : Optional [ Iterable [ str ] ] = None ) -> str : is_async = isinstance ( req , AsyncRequest ) for g in self . getters : try : if is_async and not g . async_calls_sync_load : return await_ ( g . load_async ( req ) ) else : return g . load ( req ) except BackendNotApplicable : pass raise BackendNotApplicable ( description = "No authentication information found" , challenges = challenges )
Loads the value from the provided request using the provided getters
Loads the value from the provided request using the provided getters
"""Loads the value from the provided request using the provided getters"""
self
req
Request
challenges
Optional[Iterable[str]]