Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
VioletM committed Dec 18, 2024
1 parent b7789a7 commit 59c439a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions sources/hubspot/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,14 @@
]

DEFAULT_DEAL_PROPS = [
# "amount",
# "closedate",
# "createdate",
"amount",
"closedate",
"createdate",
"dealname",
"dealstage",
# "hs_lastmodifieddate",
# "hs_object_id",
# "pipeline",
"hs_lastmodifieddate",
"hs_object_id",
"pipeline",
]

DEFAULT_TICKET_PROPS = [
Expand Down
12 changes: 6 additions & 6 deletions sources/hubspot_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def load_crm_data() -> None:
p = dlt.pipeline(
pipeline_name="hubspot",
dataset_name="hubspot_dataset",
destination="bigquery",
destination="duckdb",
)

# Run the pipeline with the HubSpot source connector
Expand All @@ -42,7 +42,7 @@ def load_crm_data_with_history() -> None:
p = dlt.pipeline(
pipeline_name="hubspot",
dataset_name="hubspot_dataset",
destination="bigquery",
destination="duckdb",
)

# Configure the source with `include_history` to enable property history load, history is disabled by default
Expand All @@ -68,7 +68,7 @@ def load_crm_data_with_soft_delete() -> None:
p = dlt.pipeline(
pipeline_name="hubspot",
dataset_name="hubspot_dataset",
destination="bigquery",
destination="duckdb",
)

# Configure the source to load soft-deleted (archived) records.
Expand All @@ -94,7 +94,7 @@ def load_crm_objects_with_custom_properties() -> None:
pipeline = dlt.pipeline(
pipeline_name="hubspot",
dataset_name="hubspot_dataset",
destination="bigquery",
destination="duckdb",
)

load_data = hubspot()
Expand All @@ -115,7 +115,7 @@ def load_pipelines() -> None:
p = dlt.pipeline(
pipeline_name="hubspot",
dataset_name="hubspot_dataset",
destination="bigquery",
destination="duckdb",
dev_mode=False,
)
# To load data from pipelines in "deals" endpoint
Expand All @@ -138,7 +138,7 @@ def load_web_analytics_events(
p = dlt.pipeline(
pipeline_name="hubspot",
dataset_name="hubspot_dataset",
destination="bigquery",
destination="duckdb",
dev_mode=False,
)

Expand Down

0 comments on commit 59c439a

Please sign in to comment.