app/models/agent_model.py @@ -130,4 +130,6 @@ @staticmethod def is_type(record_id, t): record = UnifiedAgentModel.get_by_id(record_id) return record and record.type == t return record and record.type == t