Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
maximearmstrong committed Dec 3, 2024
1 parent bce02b0 commit 4dc0619
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,12 @@ def from_connection_details(
name=connection_details["name"],
stream_prefix=connection_details.get("prefix"),
streams={
stream_details["stream"]["name"]: AirbyteStream.from_stream_details(stream_details=stream_details)
stream_details["stream"]["name"]: AirbyteStream.from_stream_details(
stream_details=stream_details
)
for stream_details in connection_details.get("syncCatalog", {}).get("streams", [])
},
destination_id=connection_details["destinationId"]
destination_id=connection_details["destinationId"],
)


Expand Down Expand Up @@ -75,7 +77,7 @@ def from_stream_details(
return cls(
name=stream_details["stream"]["name"],
selected=stream_details["config"].get("selected", False),
json_schema=stream_details["stream"].get("jsonSchema", {})
json_schema=stream_details["stream"].get("jsonSchema", {}),
)


Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import responses
from dagster_airbyte import AirbyteCloudWorkspace

from dagster_airbyte_tests.experimental.conftest import TEST_CLIENT_ID, TEST_CLIENT_SECRET, TEST_WORKSPACE_ID
from dagster_airbyte_tests.experimental.conftest import (
TEST_CLIENT_ID,
TEST_CLIENT_SECRET,
TEST_WORKSPACE_ID,
)


def test_fetch_fivetran_workspace_data(
Expand Down

0 comments on commit 4dc0619

Please sign in to comment.