File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
airbyte-integrations/connectors/source-hubspot/source_hubspot Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -64,13 +64,14 @@ def split_properties(properties_list: List[str]) -> Iterator[Tuple[str]]:
64
64
summary_length = 0
65
65
local_properties = []
66
66
for property_ in properties_list :
67
- if len (urllib .parse .quote (f"property={ property_ } &" )) + summary_length >= PROPERTIES_PARAM_MAX_LENGTH :
67
+ current_property_length = len (urllib .parse .quote (f"property={ property_ } &" ))
68
+ if current_property_length + summary_length >= PROPERTIES_PARAM_MAX_LENGTH :
68
69
yield local_properties
69
70
local_properties = []
70
71
summary_length = 0
71
72
72
73
local_properties .append (property_ )
73
- summary_length += len ( urllib . parse . quote ( f"property= { property_ } &" ))
74
+ summary_length += current_property_length
74
75
75
76
if local_properties :
76
77
yield local_properties
You can’t perform that action at this time.
0 commit comments