Skip to content

Commit

Permalink
airbyte-to-flow: update flow dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
psFried committed Dec 4, 2023
1 parent 2c6de4a commit ea8d41e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
12 changes: 6 additions & 6 deletions airbyte-to-flow/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 4 additions & 5 deletions airbyte-to-flow/src/libs/stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,9 @@ pub fn stream_lines(
in_stream: InterceptorStream,
) -> impl TryStream<Item = Result<Bytes, Error>, Error = Error, Ok = bytes::Bytes> {
io_stream_to_interceptor_stream(
AsyncByteLines::new(StreamReader::new(
in_stream,
))
.into_stream()
.map_ok(Bytes::from),
AsyncByteLines::new(StreamReader::new(in_stream))
.into_stream()
.map_ok(Bytes::from),
)
}

Expand Down Expand Up @@ -261,6 +259,7 @@ mod test {
resource_config_json: "{}".to_string(),
collection: None,
field_config_json_map: BTreeMap::new(),
backfill: 7,
}],
};

Expand Down

0 comments on commit ea8d41e

Please sign in to comment.