SamWheating commented on code in PR #33631:
URL: https://github.com/apache/airflow/pull/33631#discussion_r1302257038
##########
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:
Oooh good point! I was wondering why there were missing characters
--
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]