diff --git a/timely_beliefs/beliefs/classes.py b/timely_beliefs/beliefs/classes.py index 1c028220..34d9a6c5 100644 --- a/timely_beliefs/beliefs/classes.py +++ b/timely_beliefs/beliefs/classes.py @@ -2211,15 +2211,17 @@ def set_columns_and_indices_for_empty_frame(df, columns, indices, default_types) def assign_sensor_and_event_resolution(df, sensor, event_resolution): """Set the Sensor metadata (including timing properties of the sensor).""" - if not isinstance(sensor, Sensor): - import warnings - - warnings.warn( - "'sensor' field needs to be of type 'Sensor'. This constraint will be enforced in an upcoming version.", - FutureWarning, - ) - - # TODO: raise ValueError(...) + # https://github.com/SeitaBV/timely-beliefs/issues/145 + # if not isinstance(sensor, Sensor): + # import warnings + # + # warnings.warn( + # "'sensor' field needs to be of type 'Sensor'. This constraint will be enforced in an upcoming version.", + # FutureWarning, + # # stacklevel=6, + # ) + # + # # TODO: raise ValueError(...) df.sensor = sensor df.event_resolution = (