How to use the mkmsdk.resolvers function in mkmsdk

To help you get started, we’ve selected a few mkmsdk examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github evonove / mkm-sdk / mkmsdk / mkm.py View on Github external
def __init__(self, api_map, root_endpoint):
        """
        Initializes the api_map and eventual sandbox mode

        Params:
            `api_map`: Dict with urls and methods for the request
            `root_endpoint`: Api root endpoint
        """
        self.api_map = api_map
        self.root_endpoint = root_endpoint
        self.resolver = resolvers.SimpleResolver(self.root_endpoint)