Skip to content

Commit

Permalink
enable companies' history
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyaFaer committed Dec 28, 2023
1 parent fe420d3 commit e613569
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion sources/hubspot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def companies(
yield from crm_objects(
"company",
api_key,
include_history=False,
include_history=include_history,
props=props,
include_custom_props=include_custom_props,
)
Expand Down
1 change: 1 addition & 0 deletions tests/hubspot/test_hubspot_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,7 @@ def test_all_resources(destination_name: str) -> None:
# Check history tables
# NOTE: this value is increasing... maybe we should start testing ranges
assert load_table_counts(pipeline, *history_table_names) == {
"companies_property_history": 4018,
"contacts_property_history": 5935,
"deals_property_history": 5162,
}
Expand Down

0 comments on commit e613569

Please sign in to comment.