def create(self, *args, **kwargs):
if not args and not kwargs:<EOL><INDENT>raise Exception('<STR_LIT>')<EOL><DEDENT>attributes = args[<NUM_LIT:0>] if args else kwargs<EOL>attributes = dict((k, v) for k, v in attributes.iteritems() if k in self.OPTS_KEYS_TO_PERSIST)<EOL>_, _, note = self.http_client.post("<STR_LIT>", body=attributes)<EOL>return note<EOL>
Create a note

Create a new note and associate it with one of the resources listed below:
* [Leads](/docs/rest/reference/leads)
* [Contacts](/docs/rest/reference/contacts)
* [Deals](/docs/rest/reference/deals)

:calls: ``post /notes``
:param tuple *args: (optional) Single object representing Note resource.
:param dict **kwargs: (optional) Note attributes.
:return: Dictionary that support attriubte-style access and represents newely created Note resource.
:rtype: dict