refac
This commit is contained in:
1 parent
140d2cf4b5
commit
6dcc2d5269
1 file changed
+2
@@ -585,6 +585,7 @@ class SafeMicrosoftWebIQLoader(BaseLoader, RateLimitMixin, URLProcessingMixin):
|
|||||||
self,
|
self,
|
||||||
web_paths: Union[str, List[str]],
|
web_paths: Union[str, List[str]],
|
||||||
api_key: str,
|
api_key: str,
|
||||||
|
api_base_url: str = MICROSOFT_WEB_IQ_API_BASE_URL,
|
||||||
language: str = 'en',
|
language: str = 'en',
|
||||||
verify_ssl: bool = True,
|
verify_ssl: bool = True,
|
||||||
trust_env: bool = False,
|
trust_env: bool = False,
|
||||||
@@ -594,6 +595,7 @@ class SafeMicrosoftWebIQLoader(BaseLoader, RateLimitMixin, URLProcessingMixin):
|
|||||||
):
|
):
|
||||||
self.web_paths = web_paths if isinstance(web_paths, list) else [web_paths]
|
self.web_paths = web_paths if isinstance(web_paths, list) else [web_paths]
|
||||||
self.api_key = api_key
|
self.api_key = api_key
|
||||||
|
self.api_base_url = api_base_url
|
||||||
self.language = language
|
self.language = language
|
||||||
self.verify_ssl = verify_ssl
|
self.verify_ssl = verify_ssl
|
||||||
self.trust_env = trust_env
|
self.trust_env = trust_env
|
||||||
|
|||||||
Reference in new issue
Block a user