Skip to content

Commit

Permalink
break those lines, black
Browse files Browse the repository at this point in the history
  • Loading branch information
skyl committed Nov 20, 2024
1 parent 3abb798 commit f2c4b2a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion py/packages/corpora_cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ def get_api_clients(
# Configure and return the authenticated API client
client_config = corpora_client.Configuration()
# TODO: deploy and default to the main production server?
client_config.host = config.get("server", {}).get("base_url", "http://corpora_app:8877")
client_config.host = config.get("server", {}).get(
"base_url", "http://corpora_app:8877"
)
client_config.access_token = auth_token
return (
corpora_client.CorpusApi(corpora_client.ApiClient(client_config)),
Expand Down

0 comments on commit f2c4b2a

Please sign in to comment.