We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecb9060 commit b572f2bCopy full SHA for b572f2b
pori_python/ipr/main.py
@@ -358,6 +358,7 @@ def ipr_report(
358
)
359
360
# IPR CONNECTION
361
+ ipr_url = ipr_url if ipr_url else os.environ.get("IPR_URL", "")
362
ipr_conn = None
363
if ipr_url:
364
ipr_conn = IprConnection(username, password, ipr_url)
@@ -420,6 +421,7 @@ def ipr_report(
420
421
# GKB CONNECTION
422
gkb_user = graphkb_username if graphkb_username else username
423
gkb_pass = graphkb_password if graphkb_password else password
424
+ graphkb_url = graphkb_url if graphkb_url else os.environ.get("GRAPHKB_URL", "")
425
if graphkb_url:
426
logger.info(f"connecting to graphkb: {graphkb_url}")
427
graphkb_conn = GraphKBConnection(graphkb_url)
0 commit comments