def as_dict(self):
        return {
            'id': self.id,
            'closed': self.closed,
            'data': self.task_data
        }
TODO: add docstring
dataset/ETHPy150Open mrgambal/vulyk/vulyk/models/tasks.py/AbstractTask.as_dict--crossover with--dataset/ETHPy150Open treasure-data/td-client-python/tdclient/bulk_import_api.py/BulkImportAPI.bulk_import_error_records