def get_variable_by_id(self, variable_id):
        try:
            return self._edit_session.query(Variable).filter_by(id=variable_id).first()
        except:
            return None
:param variable_id: int
dataset/ETHPy150Open ODM2/ODMToolsPython/odmtools/odmservices/series_service.py/SeriesService.get_variable_by_id