Yu

Results 6 comments of Yu

Is this how you write a class with abstract methods? ```from abc import ABC, abstractmethod class DBPeriod(Period, ABC): def __init__(self, name=None): super.__init__(name=name) @abstractmethod def add_entry(self, table_name=None, **kwargs): pass @abstractmethod def...

That would be better. I understand the first thing. As for the second, I feel like I can't just copy and paste. What would be difference between the docstrings of...

Already passed the pre-commit test. Not sure why the build failed

> Did you have a look at the build log? You can do so by clicking 'Details'. ``` TypeError: Can't instantiate abstract class Period with abstract methods add_entry, get_entries, get_entry,...

> Can you also move the methods `_preprocess_entry`, `_remove_redundant_fields`, `_validate_entry`, and `_substitute_none_fields` and `_convert_fields` to Period? (sorry for blowing this up so much :)) Do you mean cut and copy...