def __repr__(self):
        return "<Requirements({})>".format(self.filename.name or "")
def serialize(self, value, display=False):
        if value is None:
            return ""
        return encode(value)