Skip to content

Commit

Permalink
make ago index creation work
Browse files Browse the repository at this point in the history
  • Loading branch information
floptical committed Apr 1, 2024
1 parent 1bf9b8d commit 840ec3d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions databridge_etl_tools/ago/ago_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
@click.option('--ago_user', required=True)
@click.option('--ago_pw', required=True)
@click.option('--ago_item_name', required=True)
@click.option('--s3_bucket', required=True)
@click.option('--s3_key', required=True)
@click.option('--s3_bucket', required=False)
@click.option('--s3_key', required=False)
def ago(ctx, **kwargs):
'''Run ETL commands for AGO'''
ctx.obj = {}
Expand Down Expand Up @@ -58,7 +58,7 @@ def truncate_append(ctx):

@ago.command()
@click.pass_context
@click.option('--index_fields', required=True)
@click.option('--index_fields', type=click.STRING, required=True)
def post_index_fields(ctx, **kwargs):
'''Post index fields to AGO'''
ago = AGO(**ctx.obj, **kwargs)
Expand Down

0 comments on commit 840ec3d

Please sign in to comment.