Skip to content

Commit

Permalink
last optional with default
Browse files Browse the repository at this point in the history
  • Loading branch information
emmyoop committed Apr 2, 2024
1 parent e74bc54 commit 905b096
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion dbt/adapters/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,11 @@ def get_adapter_constraint_support(self, name: Optional[str]) -> List[str]:
FACTORY: AdapterContainer = AdapterContainer()


def register_adapter(config: AdapterRequiredConfig, mp_context: SpawnContext, AdapterRegistered_log_level: EventLevel) -> None:
def register_adapter(
config: AdapterRequiredConfig,
mp_context: SpawnContext,
AdapterRegistered_log_level: Optional[EventLevel] = EventLevel.INFO
) -> None:
FACTORY.register_adapter(config, mp_context, AdapterRegistered_log_level)


Expand Down

0 comments on commit 905b096

Please sign in to comment.