-
Notifications
You must be signed in to change notification settings - Fork 348
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
refactor: Review username
regex pattern
#4544
Merged
frascuchon
merged 6 commits into
feature/oauth-integration
from
refactor/review-username-regex-pattern
Jan 29, 2024
Merged
refactor: Review username
regex pattern
#4544
frascuchon
merged 6 commits into
feature/oauth-integration
from
refactor/review-username-regex-pattern
Jan 29, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
username
regex pattern
gabrielmbmb
approved these changes
Jan 29, 2024
for more information, see https://pre-commit.ci
jfcalvo
reviewed
Jan 29, 2024
jfcalvo
reviewed
Jan 29, 2024
|
||
|
||
@pytest.mark.parametrize( | ||
"invalid_username", ["user name", "user/name", "user.name", "_", "-", "123_", "1234-", "---32", "_mark", "-mark"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe adding a just number username example?
The URL of the deployed environment for this PR is https://argilla-quickstart-pr-4544-ki24f765kq-no.a.run.app |
for more information, see https://pre-commit.ci
jfcalvo
approved these changes
Jan 29, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area: server
Indicates that an issue or pull request is related to the server
language: python
Pull requests or issues that update Python code
lgtm
This PR has been approved by a maintainer
size:M
This PR changes 30-99 lines, ignoring generated files.
team: backend
Indicates that the issue or pull request is owned by the backend team
type: improvement
Indicates updates or improvements on existing features
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR reviews the
username
pattern to be more flexible without losing API functionality.Type of change
(Please delete options that are not relevant. Remember to title the PR according to the type of change)
How Has This Been Tested
(Please describe the tests that you ran to verify your changes. And ideally, reference
tests
)Running locally
Checklist
CHANGELOG.md
file (See https://keepachangelog.com/)