Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def request_factory(self) -> 'JSONRPCRequest':
"""Factory for request objects.
Allows derived classes to use requests derived from :py:class:`JSONRPCRequest`.
:rtype: :py:class:`JSONRPCRequest`
"""
return JSONRPCRequest()