Skip to content

Commit ae6d955

Browse files
committed
Merge branch 'christo/sdm-cli-manifest-path' of https://github.com/airbytehq/airbyte-python-cdk into christo/sdm-cli-manifest-path
2 parents 62a4118 + a0abfe7 commit ae6d955

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.coveragerc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,13 @@ omit =
99

1010
# omit as unimplemented
1111
airbyte_cdk/base_python/cdk/streams/auth/jwt.py
12+
13+
# omit temporary files and test files
14+
/tmp/tmp*.py
15+
unit_tests/*
16+
17+
[paths]
18+
# Reconcile file paths
19+
source =
20+
./
21+
/tmp/

airbyte_cdk/cli/source_declarative_manifest/_run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ def _parse_inputs_into_config_catalog_state(
255255
def _parse_manifest_from_file(filepath: str) -> dict[str, Any] | None:
256256
"""Extract and parse a manifest file specified in the args."""
257257
try:
258-
with open(filepath, "r") as manifest_file:
258+
with open(filepath, "r", encoding="utf-8") as manifest_file:
259259
manifest_content = yaml.safe_load(manifest_file)
260260
if manifest_content is None:
261261
raise ValueError(f"Manifest file at {filepath} is empty")

0 commit comments

Comments
 (0)