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

Add task to create default user on database #2502

Merged

Conversation

jfcalvo
Copy link
Member

@jfcalvo jfcalvo commented Mar 8, 2023

This PR adds a new task to create user with defaults credentials on database.

# Get help
$ python -m argilla.tasks.users.create_default --help

# Create the default user
$ python -m argilla.tasks.users.create_default

# Create the default user without output
$ python -m argilla.tasks.users.create_default --quiet

I have refactored a little bit some contexts.accounts functions related with passwords, maybe it could be applied later to some other PRs on the go.

@jfcalvo jfcalvo requested a review from frascuchon March 8, 2023 11:25
Copy link
Member

@frascuchon frascuchon left a comment

Choose a reason for hiding this comment

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

Cool!

@frascuchon frascuchon merged commit 8b6d7b3 into feat/add-basic-database-support Mar 8, 2023
@frascuchon frascuchon deleted the add-task-to-create-default-user branch March 8, 2023 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants