From cf813f59d9bfc231fbbb555e6aead23bb06ab562 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Fri, 29 Mar 2024 15:02:29 -0500 Subject: [PATCH] add defualt --- dbt/adapters/factory.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dbt/adapters/factory.py b/dbt/adapters/factory.py index bad68b14..31077dc9 100644 --- a/dbt/adapters/factory.py +++ b/dbt/adapters/factory.py @@ -101,7 +101,7 @@ def register_adapter( self, config: AdapterRequiredConfig, mp_context: SpawnContext, - AdapterRegistered_log_level: EventLevel=EventLevel.INFO + AdapterRegistered_log_level: EventLevel = EventLevel.INFO ) -> None: adapter_name = config.credentials.type adapter_type = self.get_adapter_class_by_name(adapter_name) @@ -199,7 +199,7 @@ def get_adapter_constraint_support(self, name: Optional[str]) -> List[str]: def register_adapter(config: AdapterRequiredConfig, mp_context: SpawnContext, AdapterRegistered_log_level: EventLevel) -> None: - FACTORY.register_adapter(config, mp_context, AdapterRegistered_log_level) + FACTORY.register_adapter(config, mp_context, AdapterRegistered_log_level=EventLevel.INFO) def get_adapter(config: AdapterRequiredConfig):