fossasia / open-event-server

Abstract method not overridden PYL-W0223
Bug risk
Major
5 months ago4 years old
Method 'python_type' is abstract in class 'TypeEngine' but is not overridden
39
40
41def sqlite_datetime_fix():
42    class SQLiteDateTimeType(types.TypeDecorator):43        impl = types.Integer
44        epoch = datetime(1970, 1, 1, 0, 0, 0)
45
Method 'process_literal_param' is abstract in class 'TypeDecorator' but is not overridden
39
40
41def sqlite_datetime_fix():
42    class SQLiteDateTimeType(types.TypeDecorator):43        impl = types.Integer
44        epoch = datetime(1970, 1, 1, 0, 0, 0)
45