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>_, _, source = self.http_client.post("<STR_LIT>", body=attributes)<EOL>return source<EOL>
Create a source

Creates a new source
<figure class="notice">
Source's name **must** be unique
</figure>

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