Skip to content

Commit

Permalink
cast _get_parameter_name to str
Browse files Browse the repository at this point in the history
  • Loading branch information
greg-el committed Aug 21, 2024
1 parent c8dc96e commit bdc4007
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snowplow_tracker/contracts.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def _get_parameter_name() -> str:
match = _MATCH_FIRST_PARAMETER_REGEX.search(code)
if not match:
return "Unnamed parameter"
return match.groups(0)[0]
return str(match.groups(0)[0])


def _check_form_element(element: Dict[str, Any]) -> bool:
Expand Down

0 comments on commit bdc4007

Please sign in to comment.