Skip to content

Commit 0370c12

Browse files
committed
fix same 'occured' typo in response_to_file_extractor.py
Signed-off-by: SAY-5 <SAY-5@users.noreply.github.com>
1 parent 10dc7e4 commit 0370c12

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

airbyte_cdk/sources/declarative/extractors/response_to_file_extractor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def _save_to_file(self, response: requests.Response) -> Tuple[str, str]:
113113
return tmp_file, response_encoding
114114
else:
115115
raise ValueError(
116-
f"The IO/Error occured while verifying binary data. Tmp file {tmp_file} doesn't exist."
116+
f"The IO/Error occurred while verifying binary data. Tmp file {tmp_file} doesn't exist."
117117
)
118118

119119
def _read_with_chunks(
@@ -147,7 +147,7 @@ def _read_with_chunks(
147147
self.logger.info(f"Empty data received. {e}")
148148
yield from []
149149
except IOError as ioe:
150-
raise ValueError(f"The IO/Error occured while reading tmp data. Called: {path}", ioe)
150+
raise ValueError(f"The IO/Error occurred while reading tmp data. Called: {path}", ioe)
151151
finally:
152152
# remove binary tmp file, after data is read
153153
os.remove(path)

0 commit comments

Comments
 (0)