Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Source Pardot: failed while syncing Visitors stream #19618

Merged
merged 16 commits into from
Dec 15, 2022
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-pardot/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ COPY source_pardot ./source_pardot
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]

LABEL io.airbyte.version=0.1.0
LABEL io.airbyte.version=0.1.1
LABEL io.airbyte.name=airbyte/source-pardot
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ def streams(self, config: Mapping[str, Any]) -> List[Stream]:
auth = TokenAuthenticator(pardot.access_token)
args = {"authenticator": auth, "config": config}

visitors = Visitors(**args)

return [
EmailClicks(**args),
Campaigns(**args),
Expand All @@ -45,6 +43,6 @@ def streams(self, config: Mapping[str, Any]) -> List[Stream]:
Prospects(**args),
Users(**args),
VisitorActivities(**args),
visitors,
Visitors(**args),
Visits(parent_stream=visitors, **args),
]
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"documentationUrl": "https://docsurl.com",
"documentationUrl": "https://docs.airbyte.com/integrations/sources/pardot",
"connectionSpecification": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Pardot Spec",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ class Visitors(PardotUpdatedAtReplicationStream):
def stream_slices(
self, sync_mode: SyncMode, cursor_field: List[str] = None, stream_state: Mapping[str, Any] = None
) -> Iterable[Optional[Mapping[str, Any]]]:
slices = super().stream_slices(sync_mode, cursor_field=cursor_field, stream_state=stream_state)
slices = super().stream_slices(sync_mode=sync_mode, cursor_field=cursor_field, stream_state=stream_state)
return slices


Expand Down