def get_record_class(self, datamodel, raw_data):
        is_attachment = bool(raw_data.get('_attachment_for'))
        if not is_attachment:
            return Page
        attachment_type = raw_data['_attachment_type']
        return attachment_classes.get(attachment_type, Attachment)
Return the fileno() of the socket object used internally.
dataset/ETHPy150Open lektor/lektor/lektor/db.py/Database.get_record_class--crossover with--dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/telnetlib.py/Telnet.fileno