def __init__(self, apiContext: ApiContext = None, dataViewMode="Live", mozuClient = None): if (apiContext is not None and apiContext.dataViewMode is None): apiContext.dataViewMode = dataViewMode; else: apiContext = ApiContext(dataViewMode = dataViewMode); self.client = mozuClient or default_client(); self.client.withApiContext(apiContext);
def __init__(self, apiContext: ApiContext = None, mozuClient = None): self.client = mozuClient or default_client(); if (apiContext is not None): self.client.withApiContext(apiContext); else: self.client.withApiContext(ApiContext());
def __init__(self, mozuClient = None): self.client = mozuClient or default_client();