aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sec_certs/serialization/pandas.py
blob: 06aff3556ea94d70ed69c496955d85e62bdc67f4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
from __future__ import annotations

from abc import ABC, abstractmethod


class PandasSerializableType(ABC):
    def __init__(self, *args, **kwargs):
        pass

    @property
    @abstractmethod
    def pandas_tuple(self):
        raise NotImplementedError("Not meant to be implemented")

    @property
    @abstractmethod
    def pandas_columns(self):
        raise NotImplementedError("Not meant to be implemented")