def variable_exists(self, v):
        try:
            result = self._edit_session.query(Variable).filter_by(code=v.code,
                                                                  name=v.name, speciation=v.speciation,
                                                                  variable_unit_id=v.variable_unit_id,
                                                                  sample_medium=v.sample_medium,
                                                                  value_type=v.value_type, is_regular=v.is_regular,
                                                                  time_support=v.time_support,
                                                                  time_unit_id=v.time_unit_id, data_type=v.data_type,
                                                                  general_category=v.general_category,
                                                                  no_data_value=v.no_data_value).one()
            return result
        except:
            return None
: Create a new Style object.
dataset/ETHPy150Open ODM2/ODMToolsPython/odmtools/odmservices/series_service.py/SeriesService.variable_exists--crossover with--dataset/ETHPy150Open nasa/mplStyle/mplStyle/types/Style.py/Style.__init__