CXCV/Python/Abstracts/TableAbstract.py

16 lines
429 B
Python

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from typing import Self, Any
from abc import ABC, abstractmethod
class TableAbstract(ABC):
@abstractmethod
def get(self:Self) -> tuple[tuple[str]|None, tuple[tuple[Any|None, ...], ...]]:pass
@abstractmethod
def get_tuples(self:Self) -> tuple[tuple[Any|None, ...], ...]:pass
@abstractmethod
def get_dictionaries(self:Self) -> dict[str, Any|None]:pass