File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,9 +58,9 @@ def authenticate(
5858 # Find credentials from environment variables
5959 if not host :
6060 host = (
61- os .environ .get ("QUARTZBIO_API_HOST" , None )
62- or os .environ .get ("EDP_API_HOST" , None )
63- or os .environ .get ("SOLVEBIO_API_HOST" , None )
61+ os .environ .get ("QUARTZBIO_API_HOST" , None ) or
62+ os .environ .get ("EDP_API_HOST" , None ) or
63+ os .environ .get ("SOLVEBIO_API_HOST" , None )
6464 )
6565
6666 if not token :
@@ -71,9 +71,9 @@ def authenticate(
7171 )
7272
7373 access_token = (
74- os .environ .get ("QUARTZ_ACCESS_TOKEN" , None )
75- or os .environ .get ("EDP_ACCESS_TOKEN" , None )
76- or os .environ .get ("SOLVEBIO_ACCESS_TOKEN" , None )
74+ os .environ .get ("QUARTZ_ACCESS_TOKEN" , None ) or
75+ os .environ .get ("EDP_ACCESS_TOKEN" , None ) or
76+ os .environ .get ("SOLVEBIO_ACCESS_TOKEN" , None )
7777 )
7878
7979 if access_token :
@@ -184,4 +184,4 @@ def validate_api_host_url(url):
184184 elif not parsed .netloc :
185185 raise SolveError ("Invalid API host: %s." % url )
186186
187- return parsed .geturl ()
187+ return parsed .geturl ()
You can’t perform that action at this time.
0 commit comments