Skip to content

Commit

Permalink
make allowed_values configs required
Browse files Browse the repository at this point in the history
  • Loading branch information
pnadolny13 committed Apr 3, 2023
1 parent 7d265ea commit 359881e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions target_s3/target.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ class Targets3(Target):
th.StringType,
description="The grain of the date to append to the prefix.",
allowed_values=DATE_GRAIN.keys(),
required=True,
),
th.Property(
"append_date_to_filename",
Expand All @@ -82,12 +83,14 @@ class Targets3(Target):
th.StringType,
description="The grain of the date to append to the filename.",
allowed_values=DATE_GRAIN.keys(),
required=True,
),
th.Property(
"format_type",
th.StringType,
description="The format of the storage object.",
allowed_values=sinks.FORMAT_TYPE.keys(),
required=True,
),
th.Property(
"flatten_records",
Expand Down

0 comments on commit 359881e

Please sign in to comment.