Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implemented delete_user_by_email and test for connections #122

Merged
merged 3 commits into from
Oct 5, 2018

Conversation

runz0rd
Copy link
Contributor

@runz0rd runz0rd commented Oct 1, 2018

For #121

Copy link
Contributor

@joshcanhelp joshcanhelp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @runz0rd! A couple of very minor docs changes then I'll approve 👍

@@ -116,3 +116,17 @@ def create(self, body):
"""

return self.client.post(self._url(), data=body)

def delete_user_by_email(self, id, email):
"""Deletes a specified connection user by its email
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a period at the end.

"""Deletes a specified connection user by its email

Args:
id (str): Id of the connection.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider from our docs:

The id of the connection (must be a database connection).

Args:
id (str): Id of the connection.

email (str): The email of the user to delete
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a period at the end.

Copy link
Contributor

@joshcanhelp joshcanhelp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you @runz0rd!

@lbalmaceda lbalmaceda added this to the v3-Next milestone Oct 5, 2018
@lbalmaceda lbalmaceda merged commit f5cdcb6 into auth0:master Oct 5, 2018
@lbalmaceda lbalmaceda modified the milestones: v3-Next, 3.4.0 Nov 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants