Skip to content

Commit 8e36382

Browse files
authored
fix: config remap fields component to provide correct config context (#608)
1 parent 9b2de4f commit 8e36382

File tree

1 file changed

+1
-1
lines changed
  • airbyte_cdk/sources/declarative/transformations/config_transformations

1 file changed

+1
-1
lines changed

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)