Skip to content

Commit cc32974

Browse files
committed
fix to provide correct context
1 parent 9b2de4f commit cc32974

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • airbyte_cdk/sources/declarative/transformations/config_transformations

airbyte_cdk/sources/declarative/transformations/config_transformations/remap_field.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def transform(
5959

6060
field_name = path_components[-1]
6161

62-
mapping = self._map.eval(config=self.config)
62+
mapping = self._map.eval(config=self.config or config)
6363

6464
if field_name in current and current[field_name] in mapping:
6565
current[field_name] = mapping[current[field_name]]

0 commit comments

Comments
 (0)