diff --git a/Makefile b/Makefile index ead0822..9e8aef3 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,6 @@ clean: requirements: pip3 install -r requirements.txt pip3 install -r requirements-test.txt - .PHONY: requirements fmt: diff --git a/dbtmetabase/metabase.py b/dbtmetabase/metabase.py index 1e7c0f8..b2c6679 100644 --- a/dbtmetabase/metabase.py +++ b/dbtmetabase/metabase.py @@ -147,7 +147,7 @@ def __init__( sync_timeout (Optional[int], optional): Synchronization timeout (in secs). Defaults to None. http_extra_headers {dict} -- HTTP headers to be used by the Metabase client. (default: {None}) exclude_sources {bool} -- Exclude exporting sources. (default: {False}) - http_adapter: (Optional[object], optional) Provides a general-case interface for Requests sessions to contact HTTP and HTTPS urls by implementing the Transport Adapter interface. Defaults to None. + http_adapter: (Optional[BaseAdapter], optional) Provides a general-case interface for Requests sessions to contact HTTP and HTTPS urls by implementing the Transport Adapter interface. Defaults to None. """ self.base_url = f"{'http' if use_http else 'https'}://{host}" diff --git a/dbtmetabase/models/interface.py b/dbtmetabase/models/interface.py index fa2d171..7dae96a 100644 --- a/dbtmetabase/models/interface.py +++ b/dbtmetabase/models/interface.py @@ -52,7 +52,7 @@ def __init__( sync_timeout (Optional[int], optional): Synchronization timeout (in secs). Defaults to None. exclude_sources (bool, optional): Exclude exporting sources. Defaults to False. http_extra_headers (Optional[dict], optional): HTTP headers to be used by the Metabase client. Defaults to None. - http_adapter: (Optional[object], optional) Provides a general-case interface for Requests sessions to contact HTTP and HTTPS urls by implementing the Transport Adapter interface. Defaults to None. + http_adapter: (Optional[BaseAdapter], optional) Provides a general-case interface for Requests sessions to contact HTTP and HTTPS urls by implementing the Transport Adapter interface. Defaults to None. """ # Metabase Client