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

Method parse_msys_table

access_parser/access_parser.py:47–56  ·  view source on GitHub ↗

The MSysObjects contains extra metadata about tables and columns, like the Format of money field types

(self)

Source from the content-addressed store, hash-verified

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 """
49 msys_table = self.parse_table("MSysObjects")
50 if not msys_table:
51 return None
52 if not msys_table.get('Name') or not msys_table.get('LvProp'):
53 return []
54 table_to_lval_memo = {key: self.parse_lvprop(value) for key, value in zip(msys_table['Name'],
55 msys_table['LvProp']) if value}
56 return table_to_lval_memo
57
58 def _parse_file_header(self, db_data):
59 """

Callers 1

__init__Method · 0.95

Calls 2

parse_tableMethod · 0.95
parse_lvpropMethod · 0.95

Tested by

no test coverage detected