def assign(self, droplet_id):
return self.get_data(<EOL>"<STR_LIT>" % self.ip,<EOL>type=POST,<EOL>params={"<STR_LIT:type>": "<STR_LIT>", "<STR_LIT>": droplet_id}<EOL>)<EOL>
Assign a FloatingIP to a Droplet.

Args:
    droplet_id: int - droplet id