(self)
| 9 | |
| 10 | class TableSchema: |
| 11 | def __init__(self): |
| 12 | self.table_name = '' # type: str |
| 13 | self.class_type = type(object) # type: Type |
| 14 | self.columns = [] # type: List[str] |
| 15 | self.primary_key = [] # type: List[str] |
| 16 | self.indexes = None # type: Optional[Dict[str, List[str]]] |
| 17 | self.owner_column = None # type: Optional[str] |
| 18 | self.owner_column_type = None # type: Union[Type[int], Type[str], None] |
| 19 | self.class_fields = {} # type: Dict[str, FieldSchema] |
| 20 | |
| 21 | @classmethod |
| 22 | def load_schema(cls, class_type, primary_key, indexes=None, owner_column=None, owner_type=None): |
nothing calls this directly
no outgoing calls
no test coverage detected