File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -124,24 +124,6 @@ def __init__(
124124 snow_url = instance ["url" ]
125125 snow_credentials = ("admin" , instance ["password" ])
126126
127- # if "SNOW_INSTANCE_URL" in os.environ:
128- # snow_url = os.environ["SNOW_INSTANCE_URL"]
129- # else:
130- # raise ValueError(
131- # f"Please provide a ServiceNow instance URL (you can use the environment variable SNOW_INSTANCE_URL)"
132- # )
133-
134- # if snow_credentials is None:
135- # if "SNOW_INSTANCE_UNAME" in os.environ and "SNOW_INSTANCE_PWD" in os.environ:
136- # snow_credentials = (
137- # os.environ["SNOW_INSTANCE_UNAME"],
138- # os.environ["SNOW_INSTANCE_PWD"],
139- # )
140- # else:
141- # raise ValueError(
142- # f"Please provide ServiceNow credentials (you can use the environment variables SNOW_INSTANCE_UNAME and SNOW_INSTANCE_PWD)"
143- # )
144-
145127 # remove trailing slashes in the URL, if any
146128 self .snow_url = snow_url .rstrip ("/" )
147129 self .snow_credentials = snow_credentials
You can’t perform that action at this time.
0 commit comments