Skip to content

Commit d30ae26

Browse files
author
Oleksandr Bazarnov
committed
handled missing original key issue for path_to_url migration
1 parent ebc854d commit d30ae26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

airbyte_cdk/manifest_migrations/migrations/http_requester_path_to_url_v6_45_2__1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def should_migrate(self, manifest: ManifestType) -> bool:
2525
)
2626

2727
def migrate(self, manifest: ManifestType) -> None:
28-
original_key_value = manifest[self.original_key].lstrip("/")
28+
original_key_value = manifest.get(self.original_key, EmptyString).lstrip("/")
2929
replacement_key_value = manifest[self.replacement_key]
3030

3131
# return a full-url if provided directly from interpolation context

0 commit comments

Comments
 (0)