class documentation

An async version of Client that creates ASGIRequests and calls through an async request path. Does not currently support "follow" on its methods.

Method __init__ Undocumented
Async Method request Make a generic request. Compose the scope dictionary and pass to the handler, return the result of the handler. Assume defaults for the query environment, which can be overridden using the arguments to the request.
Instance Variable exc_info Undocumented
Instance Variable extra Undocumented
Instance Variable handler Undocumented
Instance Variable raise_request_exception Undocumented

Inherited from ClientMixin:

Method check_exception Look for a signaled exception, clear the current context exception data, re-raise the signaled exception, and clear the signaled exception from the local cache.
Method force_login Undocumented
Method login Set the Factory to appear as if it has successfully logged into a site.
Method logout Log out the user by removing the cookies and session object.
Method store_exc_info Store exceptions when they are generated by a view.
Instance Variable cookies Undocumented
Property session Return the current session variables.
Method _login Undocumented
Method _parse_json Undocumented

Inherited from AsyncRequestFactory (via ClientMixin):

Method generic Construct an arbitrary HTTP request.
Method _base_scope The base scope for a request.

Inherited from RequestFactory (via ClientMixin, AsyncRequestFactory):

Method delete Construct a DELETE request.
Method get Construct a GET request.
Method head Construct a HEAD request.
Method options Construct an OPTIONS request.
Method patch Construct a PATCH request.
Method post Construct a POST request.
Method put Construct a PUT request.
Method trace Construct a TRACE request.
Instance Variable defaults Undocumented
Instance Variable errors Undocumented
Instance Variable json_encoder Undocumented
Method _base_environ The base environment for a request.
Method _encode_data Undocumented
Method _encode_json Return encoded JSON if data is a dict, list, or tuple and content_type is application/json.
Method _get_path Undocumented
def __init__(self, enforce_csrf_checks=False, raise_request_exception=True, **defaults): (source)
async def request(self, **request): (source)

Make a generic request. Compose the scope dictionary and pass to the handler, return the result of the handler. Assume defaults for the query environment, which can be overridden using the arguments to the request.

Undocumented

Undocumented

raise_request_exception = (source)

Undocumented