def create_river(self, river, river_name=None):
if isinstance(river, River):<EOL><INDENT>body = river.serialize()<EOL>river_name = river.name<EOL><DEDENT>else:<EOL><INDENT>body = river<EOL><DEDENT>return self._send_request('<STR_LIT>', '<STR_LIT>' % river_name, body)<EOL>
Create a river