Skip to content

Commit

Permalink
Remove gate which did not work correctly.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterallenwebb committed Feb 4, 2025
1 parent a43d56c commit 7f532ab
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions dbt_common/record.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,11 +405,6 @@ def _record_function_inner(
is_classmethod,
func_to_record,
):
# When record/replay is not active, do nothing.
rec_types = get_record_types_from_env()
if get_record_mode_from_env() or (rec_types and group is not None and group not in rec_types):
return func_to_record

if isinstance(record_type, str):
return_type = inspect.signature(func_to_record).return_annotation
fields = _get_arg_fields(inspect.getfullargspec(func_to_record), method)
Expand Down

0 comments on commit 7f532ab

Please sign in to comment.