def add_introspection_rules(rules=[], patterns=[]):
 assert isinstance(rules, (list, tuple))
 assert isinstance(patterns, (list, tuple))
 allowed_fields.extend(patterns)
 introspection_details.extend(rules)

def add_introspection_rules ( rules = [ ] , patterns = [ ] ) : assert isinstance ( rules , ( list , tuple ) ) assert isinstance ( patterns , ( list , tuple ) ) allowed_fields . extend ( patterns ) introspection_details . extend ( rules )
allows you to add some introspection rules at runtime .