Skip to content

Commit 94bee1d

Browse files
committed
Using typing type
1 parent e0f791d commit 94bee1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

airbyte-integrations/connectors/source-faker/source_faker/purchase_generator.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def random_date_in_range(
4747
random_date = start_date + datetime.timedelta(days=random_number_of_days)
4848
return random_date
4949

50-
def generate(self, user_id: int) -> list[Dict]:
50+
def generate(self, user_id: int) -> List[Dict]:
5151
"""
5252
Because we are doing this work in parallel processes, we need a deterministic way to know what a purchase's ID should be given on the input of a user_id.
5353
tldr; Every 10 user_ids produce 10 purchases. User ID x5 has no purchases, User ID mod x7 has 2, and everyone else has 1

0 commit comments

Comments
 (0)