eumiro commented on code in PR #33631:
URL: https://github.com/apache/airflow/pull/33631#discussion_r1302248440
##########
airflow/cli/commands/standalone_command.py:
##########
@@ -193,9 +193,7 @@ def initialize_database(self):
self.print_output("standalone", "Creating admin user")
role = appbuilder.sm.find_role("Admin")
assert role is not None
- password = "".join(
-
random.choice("abcdefghkmnpqrstuvwxyzABCDEFGHKMNPQRSTUVWXYZ23456789") for i in
range(16)
- )
+ password =
"".join(random.choices("abcdefghkmnpqrstuvwxyzABCDEFGHKMNPQRSTUVWXYZ23456789",
k=16))
Review Comment:
I think the string does not contain characters like `o0ijl1L` because they
look bad in passwords one has to read and remember.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]