Skip to content

Commit c753e9e

Browse files
remove badparameter for more than 1 item type
Co-authored-by: Jennifer Reiber Kyle <[email protected]>
1 parent faf07f5 commit c753e9e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

planet/cli/data.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,6 @@ def check_item_types(ctx, param, item_types) -> Optional[List[dict]]:
8484
def check_item_type(ctx, param, item_type) -> Optional[List[dict]]:
8585
'''Validates the item type provided by comparing it to all supported
8686
item types.'''
87-
if len(item_type.split(",")) > 1:
88-
raise click.BadParameter("Only provide 1 item type.")
8987
try:
9088
validate_item_type(item_type)
9189
except SpecificationException as e:

0 commit comments

Comments
 (0)