Skip to content

Commit

Permalink
update return type to remove optional
Browse files Browse the repository at this point in the history
  • Loading branch information
AmberCharitos committed Jul 23, 2024
1 parent eb664b7 commit a553ff4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/structured_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def lookup_timeout_validator(cls, value: str) -> Optional[int]:

@validator("ranger_admin_password", "ranger_usersync_password")
@classmethod
def password_validator(cls, value: str) -> Optional[str]:
def password_validator(cls, value: str) -> str:
"""Validate if the password meets the following requirements.
- Minimum 8 characters in length
Expand Down

0 comments on commit a553ff4

Please sign in to comment.