diff --git a/argopy/options.py b/argopy/options.py index 592d5d5b..fc8f0fd6 100644 --- a/argopy/options.py +++ b/argopy/options.py @@ -92,7 +92,7 @@ def validate_http(this_path): SERVER: lambda x: True, USER: lambda x: isinstance(x, str) or x is None, PASSWORD: lambda x: isinstance(x, str) or x is None, - OPENAI_API_KEY: lambda x: isinstance(x, str), + OPENAI_API_KEY: lambda x: isinstance(x, str) or x is None, ARGOVIS_API_KEY: lambda x: isinstance(x, str) or x is None, } diff --git a/argopy/related/__init__.py b/argopy/related/__init__.py index d28263ae..76fd8535 100644 --- a/argopy/related/__init__.py +++ b/argopy/related/__init__.py @@ -4,7 +4,6 @@ from .argo_documentation import ArgoDocs from .doi_snapshot import ArgoDOI from .euroargo_api import get_coriolis_profile_id, get_ea_profile_page -from .utils import load_dict, mapp_dict from .chatgpt import Assistant from .utils import load_dict, mapp_dict # Should come last