Files
DB-GPT/pilot/connections/rdbms/py_study/test_cls_base.py
2023-06-25 15:32:41 +08:00

12 lines
303 B
Python

from abc import ABC, abstractmethod
from pydantic import BaseModel
from typing import Any, Callable, Dict, List, Mapping, Optional, Set, Union
class TestBase(BaseModel, ABC):
test_values: List = []
def test(self):
print(self.__class__.__name__ + ":" )
print(self.test_values)