<reponame>adisney/python-base<filename>python_base/example_delegate.py
from python_base.example import Example


class ExampleDelegate:
    def __init__(self):
        self.example = Example()

    def make_post_request(self, url, data):
        self.example.make_post_request(url, data)

    async def an_async_delegation(self):
        await self.example.an_async_method()

from python_base.example import Example


class ExampleDelegate:
    def __init__(self):
        self.example = Example()

    def make_post_request(self, url, data):
        self.example.make_post_request(url, data)

    async def an_async_delegation(self):
        await self.example.an_async_method()