def load_expiration_time_from_checkpoint_file(self):
        """Load expiration time from checkpoint file."""
        __method_name = inspect.currentframe().f_code.co_name
        try:
            data = self.state.get()
            if data is not None and data:
                data = json.loads(data)
                self.access_token_expiration = data.get(self.access_token_expiry, None)
                self.refresh_token_expiration = data.get(self.refresh_token_expiry, None)
        except Exception as err:
            self.applogger.error(
                "{}(method={}) : {} : Exception occured while getting data from storage account. : {}".format(
                    consts.LOGS_STARTS_WITH, __method_name, self.function_name, err
                )
            )
            raise Exception(f"Exception occured during getting data from azure : {err}.")
Load expiration time from checkpoint file.
Solutions/Vectra XDR/Data Connectors/VectraDataConnector/SharedCode/collector.py