MCPcopy Create free account
hub / github.com/Keeper-Security/Commander / __init__

Method __init__

keepercommander/storage/sqlite_dao.py:11–19  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

9
10class 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):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected