Skip to content

Conversation

anuunchin
Copy link
Collaborator

@anuunchin anuunchin commented Aug 13, 2025

This PR adds type hints to Hubspot sources. This was needed because the Hubspot API returns strings for columns that are marked as "number" columns in Hubspot, which results in dlt inferring the data type as "text".

  • A corresponding test with a minimal example is added.
  • The mapping from hubspot types to dlt types is added to the settings file, so that it's easier to adjust for additional types in the future.

This PR resolves #635

@anuunchin anuunchin self-assigned this Aug 13, 2025
@anuunchin anuunchin changed the title Feat: Type hints in Hubspot source Feat: Type hints, property param chunking in Hubspot source Aug 13, 2025
@anuunchin anuunchin changed the title Feat: Type hints, property param chunking in Hubspot source Feat: Type hints in Hubspot source Aug 13, 2025
@anuunchin anuunchin force-pushed the fix/hubspot branch 3 times, most recently from 45a877c to 521181a Compare August 13, 2025 08:11
@anuunchin anuunchin requested a review from djudjuu August 13, 2025 08:28
djudjuu
djudjuu previously approved these changes Aug 20, 2025
Copy link
Contributor

@djudjuu djudjuu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that is good stuff! just one doc-string that needs updating and some imports that can be removed. you can merge afterwards

@anuunchin anuunchin force-pushed the fix/hubspot branch 2 times, most recently from 2cf97b0 to 9a65ca3 Compare August 20, 2025 12:11
@anuunchin anuunchin merged commit d4b1e3a into master Aug 21, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hubspot Source returns numeric fields as strings
2 participants