def __repr__(self):
        return "<NamedRequirements({}{})>".format(
            self.name,
            ", filename='{}'".format(self.filename.name) if self.filename
            else "")
def flush(self):
        if self._bufferedCommands is None:
            return
        self._connection.sendline(str(self._bufferedCommands))
        self._bufferedCommands = None