def search(self, type, **args):
if type not in VALID_SEARCH_TYPES:<EOL><INDENT>raise GraphAPIError(<EOL>"<STR_LIT>" % "<STR_LIT:U+002CU+0020>".join(VALID_SEARCH_TYPES)<EOL>)<EOL><DEDENT>args["<STR_LIT:type>"] = type<EOL>return self.request(self.version + "<STR_LIT>", args)<EOL>
https://developers.facebook.com/docs/places/search