Skip to content

Commit 0077c5f

Browse files
committed
Remove old code
1 parent 58aefb2 commit 0077c5f

1 file changed

Lines changed: 0 additions & 18 deletions

File tree

src/browsergym/workarena/instance.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)