def create(self, **kwargs):
for attr in kwargs.keys():<EOL><INDENT>setattr(self, attr, kwargs[attr])<EOL><DEDENT>params = {"<STR_LIT:name>": self.name}<EOL>output = self.get_data("<STR_LIT>", type="<STR_LIT:POST>", params=params)<EOL>if output:<EOL><INDENT>self.name = output['<STR_LIT>']['<STR_LIT:name>']<EOL>self.resources = output['<STR_LIT>']['<STR_LIT>']<EOL><DEDENT>
Create the tag.