def _set_rpsl_object_interface_schema(self):
    '\n        Create the schema for RPSLObject, which contains only fields that\n        are common to every known RPSL object, along with meta\n        '
    common_fields = None
    for rpsl_object_class in OBJECT_CLASS_MAPPING.values():
        if (common_fields is None):
            common_fields = set(rpsl_object_class.fields.keys())
        else:
            common_fields = common_fields.intersection(set(rpsl_object_class.fields.keys()))
    common_fields = list(common_fields)
    common_fields = (['rpslPk', 'objectClass', 'objectText', 'updated'] + common_fields)
    common_field_dict = self._dict_for_common_fields(common_fields)
    common_field_dict['journal'] = '[RPSLJournalEntry]'
    schema = self._generate_schema_str('RPSLObject', 'interface', common_field_dict)
    self.rpsl_object_interface_schema = schema
Create the schema for RPSLObject, which contains only fields that
are common to every known RPSL object, along with meta
def _set_rpsl_object_interface_schema(self):
    '\n        Create the schema for RPSLObject, which contains only fields that\n        are common to every known RPSL object, along with meta\n        '
    common_fields = None
    for rpsl_object_class in OBJECT_CLASS_MAPPING.values():
        if (common_fields is None):
            common_fields = set(rpsl_object_class.fields.keys())
        else:
            common_fields = common_fields.intersection(set(rpsl_object_class.fields.keys()))
    common_fields = list(common_fields)
    common_fields = (['rpslPk', 'objectClass', 'objectText', 'updated'] + common_fields)
    common_field_dict = self._dict_for_common_fields(common_fields)
    common_field_dict['journal'] = '[RPSLJournalEntry]'
    schema = self._generate_schema_str('RPSLObject', 'interface', common_field_dict)
    self.rpsl_object_interface_schema = schema