@api_resource(Account)<EOL><INDENT>def create_account(self, email_address, password=None, client_id=None, client_secret=None):<DEDENT>
request = self._get_request()<EOL>params = {<EOL>'<STR_LIT>': email_address<EOL>}<EOL>if client_id:<EOL><INDENT>params['<STR_LIT>'] = client_id<EOL>params['<STR_LIT>'] = client_secret<EOL><DEDENT>response = request.post(self.ACCOUNT_CREATE_URL, params)<EOL>if '<STR_LIT>' in response:<EOL><INDENT>response["<STR_LIT>"]["<STR_LIT>"] = response['<STR_LIT>']<EOL><DEDENT>return response<EOL>
Create a new account.

        If the account is created via an app, then Account.oauth will contain the
        OAuth data that can be used to execute actions on behalf of the newly created account.

        Args:
            email_address (str):            Email address of the new account to create

            password (str):                 [DEPRECATED] This parameter will be ignored

            client_id (str, optional):      Client id of the app to use to create this account

            client_secret (str, optional):  Secret of the app to use to create this account

        Returns:
            The new Account object