def to(self, linode):
from .linode import Instance<EOL>if not isinstance(linode, Instance):<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>return { "<STR_LIT:address>": self.address, "<STR_LIT>": linode.id }<EOL>
This is a helper method for ip-assign, and should not be used outside
of that context.  It's used to cleanly build an IP Assign request with
pretty python syntax.