The following table describes the supported HubSpot data types and their mapping to the Python data types. The type codes returned in the description cursor attribute can be used in the addtypecast() cursor method.
| HubSpot data type | Type code | Python data type |
|---|---|---|
|
Date Picker |
3006 |
datetime.date |
|
Calculation |
3009 |
float |
|
Score |
3009 |
float |
|
Number |
3013 |
int |
|
Single Checkbox |
3017 |
str |
|
Multiple Checkboxes |
3017 |
str |
|
File |
3017 |
str |
|
Radio Select |
3017 |
str |
|
Dropdown Select |
3017 |
str |
|
Single Line Text |
3017 |
str |
|
Multi-Line Text |
3017 |
str |
|
HubSpot User |
3017 |
str |
|
Rich Text |
3017 |
str |
|
String |
3017 |
str |