Skip to content

Commit

Permalink
Merge branch 'main' into snapshot_time_data_type
Browse files Browse the repository at this point in the history
  • Loading branch information
MichelleArk authored Sep 3, 2024
2 parents 1902060 + 4fd2d9a commit ad7b550
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dbt/adapters/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def get_include_paths(self, name: Optional[str]) -> List[Path]:
def get_adapter_type_names(self, name: Optional[str]) -> List[str]:
return [p.adapter.type() for p in self.get_adapter_plugins(name)]

def get_adapter_constraint_support(self, name: Optional[str]) -> List[str]:
def get_adapter_constraint_support(self, name: Optional[str]) -> Dict[str, str]:
return self.lookup_adapter(name).CONSTRAINT_SUPPORT # type: ignore


Expand Down Expand Up @@ -251,7 +251,7 @@ def get_adapter_type_names(name: Optional[str]) -> List[str]:
return FACTORY.get_adapter_type_names(name)


def get_adapter_constraint_support(name: Optional[str]) -> List[str]:
def get_adapter_constraint_support(name: Optional[str]) -> Dict[str, str]:
return FACTORY.get_adapter_constraint_support(name)


Expand Down

0 comments on commit ad7b550

Please sign in to comment.