Skip to content

Commit

Permalink
Updating intervals to 0S & adding docs link
Browse files Browse the repository at this point in the history
  • Loading branch information
Luishfs committed Apr 12, 2024
1 parent ae65e51 commit 5af06a2
Show file tree
Hide file tree
Showing 5 changed files with 62 additions and 62 deletions.
2 changes: 1 addition & 1 deletion source-hubspot-native/source_hubspot_native/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def request_class(self):

async def spec(self, log: Logger, _: request.Spec) -> ConnectorSpec:
return ConnectorSpec(
documentationUrl="https://docs.estuary.dev",
documentationUrl="https://go.estuary.dev/source-hubspot-native",
configSchema=EndpointConfig.model_json_schema(),
oauth2=OAUTH2_SPEC,
resourceConfigSchema=ResourceConfig.model_json_schema(),
Expand Down
14 changes: 7 additions & 7 deletions source-hubspot-native/source_hubspot_native/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def open(
inc=ResourceState.Incremental(cursor=started_at),
backfill=ResourceState.Backfill(next_page=None, cutoff=started_at),
),
initial_config=ResourceConfig(name=cls.NAME, interval=timedelta(seconds=30)),
initial_config=ResourceConfig(name=cls.NAME, interval=timedelta(seconds=0)),
schema_inference=True,
)

Expand Down Expand Up @@ -204,7 +204,7 @@ def open(
inc=ResourceState.Incremental(cursor=started_at),
backfill=ResourceState.Backfill(next_page=None, cutoff=started_at),
),
initial_config=ResourceConfig(name=cls.NAME, interval=timedelta(seconds=30)),
initial_config=ResourceConfig(name=cls.NAME, interval=timedelta(seconds=0)),
schema_inference=True,
)

Expand Down Expand Up @@ -249,7 +249,7 @@ def open(
inc=ResourceState.Incremental(cursor=started_at),
backfill=ResourceState.Backfill(next_page=None, cutoff=started_at),
),
initial_config=ResourceConfig(name=cls.NAME, interval=timedelta(seconds=30)),
initial_config=ResourceConfig(name=cls.NAME, interval=timedelta(seconds=0)),
schema_inference=True,
)

Expand Down Expand Up @@ -294,7 +294,7 @@ def open(
inc=ResourceState.Incremental(cursor=started_at),
backfill=ResourceState.Backfill(next_page=None, cutoff=started_at),
),
initial_config=ResourceConfig(name=cls.NAME, interval=timedelta(minutes=1)),
initial_config=ResourceConfig(name=cls.NAME, interval=timedelta(seconds=0)),
schema_inference=True,
)

Expand Down Expand Up @@ -330,7 +330,7 @@ def open(
inc=ResourceState.Incremental(cursor=started_at),
backfill=ResourceState.Backfill(next_page=None, cutoff=started_at),
),
initial_config=ResourceConfig(name=cls.NAME, interval=timedelta(seconds=30)),
initial_config=ResourceConfig(name=cls.NAME, interval=timedelta(seconds=0)),
schema_inference=True,
)

Expand Down Expand Up @@ -368,7 +368,7 @@ def open(
inc=ResourceState.Incremental(cursor=started_at),
backfill=ResourceState.Backfill(next_page=None, cutoff=started_at),
),
initial_config=ResourceConfig(name=cls.NAME, interval=timedelta(seconds=30)),
initial_config=ResourceConfig(name=cls.NAME, interval=timedelta(seconds=0)),
schema_inference=True,
)

Expand Down Expand Up @@ -450,6 +450,6 @@ def open(
inc=ResourceState.Incremental(cursor=started_at),
backfill=ResourceState.Backfill(next_page=None, cutoff=started_at),
),
initial_config=ResourceConfig(name=cls.NAME, interval=timedelta(minutes=1)),
initial_config=ResourceConfig(name=cls.NAME, interval=timedelta(seconds=0)),
schema_inference=False,
)
52 changes: 26 additions & 26 deletions source-hubspot-native/test.flow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,107 +13,107 @@ captures:
bindings:
- resource:
name: companies
interval: PT30S
interval: PT0S
target: acmeCo/companies
- resource:
name: contacts
interval: PT30S
interval: PT0S
target: acmeCo/contacts
- resource:
name: deals
interval: PT30S
interval: PT0S
target: acmeCo/deals
- resource:
name: engagements
interval: PT30S
interval: PT0S
target: acmeCo/engagements
- resource:
name: contact_lists
interval: PT60S
interval: PT0S
target: acmeCo/contact_lists
- resource:
name: contacts_lists_subscription
interval: PT60S
interval: PT0S
target: acmeCo/contacts_lists_subscription
- resource:
name: campaigns
interval: PT60S
interval: PT0S
target: acmeCo/campaigns
- resource:
name: subscription_changes
interval: PT60S
interval: PT0S
target: acmeCo/subscription_changes
- resource:
name: email_events
interval: PT60S
interval: PT0S
target: acmeCo/email_events
- resource:
name: ticket_pipelines
interval: PT60S
interval: PT0S
target: acmeCo/ticket_pipelines
- resource:
name: deal_pipelines
interval: PT60S
interval: PT0S
target: acmeCo/deal_pipelines
- resource:
name: engagements_calls
interval: PT30S
interval: PT0S
target: acmeCo/engagements_calls
- resource:
name: engagements_emails
interval: PT30S
interval: PT0S
target: acmeCo/engagements_emails
- resource:
name: engagements_meetings
interval: PT30S
interval: PT0S
target: acmeCo/engagements_meetings
- resource:
name: engagements_notes
interval: PT30S
interval: PT0S
target: acmeCo/engagements_notes
- resource:
name: engagements_tasks
interval: PT30S
interval: PT0S
target: acmeCo/engagements_tasks
- resource:
name: goal_targets
interval: PT30S
interval: PT0S
target: acmeCo/goal_targets
- resource:
name: feedback_submissions
interval: PT30S
interval: PT0S
target: acmeCo/feedback_submissions
- resource:
name: line_items
interval: PT30S
interval: PT0S
target: acmeCo/line_items
- resource:
name: products
interval: PT30S
interval: PT0S
target: acmeCo/products
- resource:
name: tickets
interval: PT30S
interval: PT0S
target: acmeCo/tickets
- resource:
name: marketing_emails
interval: PT30S
interval: PT0S
target: acmeCo/marketing_emails
- resource:
name: email_subscriptions
interval: PT30S
interval: PT0S
target: acmeCo/email_subscriptions
- resource:
name: marketing_forms
interval: PT30S
interval: PT0S
target: acmeCo/marketing_forms
- resource:
name: owners
interval: PT30S
interval: PT0S
target: acmeCo/owners
- resource:
name: workflows
interval: PT30S
interval: PT0S
target: acmeCo/workflows
- resource:
name: properties
Expand Down
Loading

0 comments on commit 5af06a2

Please sign in to comment.