We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ec79a5 commit a534f60Copy full SHA for a534f60
elementary_tutorial/workflows/generate_data.py
@@ -137,9 +137,11 @@ def generate_signups_data():
137
[
138
customer[0], # SIGNUP ID
139
customer[0], # CUSTOMER ID
140
- f"{customer[1]}{customer[2].lower()}{customer[0]}@example.com"
141
- if random.randint(0, 30)
142
- else "", # USER EMAIL
+ (
+ f"{customer[1]}{customer[2].lower()}{customer[0]}@example.com"
+ if random.randint(0, 30)
143
+ else ""
144
+ ), # USER EMAIL
145
hashlib.sha256(datetime.now().isoformat().encode()).hexdigest(),
146
customer_min_order_time_map[customer[0]],
147
]
0 commit comments