MCPcopy Create free account
hub / github.com/claroty/access_parser / __init__

Method __init__

access_parser/access_parser.py:39–45  ·  view source on GitHub ↗
(self, db_path)

Source from the content-addressed store, hash-verified

37
38class AccessParser(object):
39 def __init__(self, db_path):
40 self.db_data = read_db_file(db_path)
41 self._parse_file_header(self.db_data)
42 self._table_defs, self._data_pages, self._all_pages = categorize_pages(self.db_data, self.page_size)
43 self._tables_with_data = self._link_tables_to_data()
44 self.catalog = self._parse_catalog()
45 self.extra_props = self.parse_msys_table()
46
47 def parse_msys_table(self):
48 """The MSysObjects contains extra metadata about tables and columns, like the Format of money field types """

Callers

nothing calls this directly

Calls 6

_parse_file_headerMethod · 0.95
_link_tables_to_dataMethod · 0.95
_parse_catalogMethod · 0.95
parse_msys_tableMethod · 0.95
read_db_fileFunction · 0.85
categorize_pagesFunction · 0.85

Tested by

no test coverage detected