1 from types import StringTypes
3 from PLC.Faults import *
4 from PLC.Parameter import Parameter
5 from PLC.Debug import profile
6 from PLC.Table import Row, Table
10 Representation of a row in the keys table. To use, instantiate
11 with a dict of values.
15 'key_id': Parameter(int, "Key type"),
16 'key_type': Parameter(str, "Key type"),
17 'key': Parameter(str, "Key value"),
18 'last_updated': Parameter(str, "Date and time of last update"),
19 'is_blacklisted': Parameter(str, "Key has been blacklisted and is forever unusable"),
22 def __init__(self, api, fields):
36 Representation of row(s) from the keys table in the
40 def __init__(self, api, key_id_list = None):