File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -594,7 +594,11 @@ def session(self):
594
594
return self ._session .get ()
595
595
596
596
def build_session (self ):
597
- return Session (self .domain , retries = self ._retry_config )
597
+ session = Session (self .domain , retries = self ._retry_config )
598
+ # local testing will not have necessary certs
599
+ if self .domain .startswith ("https://dev.localhost" ):
600
+ session .verify = False
601
+ return session
598
602
599
603
@staticmethod
600
604
def get_default_auth ():
@@ -700,8 +704,6 @@ def _get_token(self, timeout=100):
700
704
if self .client_id in [
701
705
# production tenant
702
706
"ZOBAi4UROl5gKZIpxxlwOEfx8KpqXf2c" ,
703
- # descarteslabs-dev tenant
704
- "DK0fmkWyfgBaLzhvhhKXUeu3BkwROIkX" ,
705
707
]: # TODO(justin) remove legacy handling
706
708
# TODO (justin) insert deprecation warning
707
709
if self .scope is None :
You can’t perform that action at this time.
0 commit comments