def get_sleep_sessions(self, min_date=None, max_date=None, max=None):
        return self.batch_get({'datatype': DataType.SLEEP_SESSIONS, 'min_date': min_date, 'max_date': max_date, 'max': max})[0]
Returns `sleep session records
dataset/ETHPy150Open orcasgit/python-healthvault/healthvaultlib/healthvault.py/HealthVaultConn.get_sleep_sessions