Skip to content

Commit

Permalink
fix indetation for flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
alemsh committed Nov 23, 2024
1 parent ce67c62 commit d1c77e3
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions resources/progress_to_es.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,10 +213,12 @@ def main():

logging.basicConfig(level=getattr(logging, args.log_level.upper()), format='%(asctime)s %(levelname)s %(name)s : %(message)s')

es_api = ClientCredentialsAuth(address=config['ES_ADDRESS'],
token_url=args.token_url,
client_secret=args.es_client_secret,
client_id=args.es_client_id)
es_api = ClientCredentialsAuth(
address=config['ES_ADDRESS'],
token_url=args.token_url,
client_secret=args.es_client_secret,
client_id=args.es_client_id
)
es_token = es_api.make_access_token()

if args.from_file:
Expand Down

0 comments on commit d1c77e3

Please sign in to comment.