def __init__(self):
    from .client import Client
    self.client = Client(C.flask_server, C.flask_port)
    self.logger = get_module_logger(self.__class__.__name__)
    if isinstance(Cal, ClientCalendarProvider):
        Cal.set_conn(self.client)
    Inst.set_conn(self.client)
    if hasattr(DatasetD, 'provider'):
        DatasetD.provider.set_conn(self.client)
    else:
        DatasetD.set_conn(self.client)
def __init__(self):
    from .client import Client
    self.client = Client(C.flask_server, C.flask_port)
    self.logger = get_module_logger(self.__class__.__name__)
    if isinstance(Cal, ClientCalendarProvider):
        Cal.set_conn(self.client)
    Inst.set_conn(self.client)
    if hasattr(DatasetD, 'provider'):
        DatasetD.provider.set_conn(self.client)
    else:
        DatasetD.set_conn(self.client)