This threw me for a loop for a second. I had to str(myUUID) to be able to use it as the distinct_id in all calls.
Since the documentation often shows UUIDs and doesn't explain that distinct_id should be a Number or string_types, it might be worth adding uuid.UUID to ID_TYPES at https://github.com/PostHog/posthog-python/blob/master/posthog/client.py#L24
Of course, one would need to cast the UUID to str() as well.
This threw me for a loop for a second. I had to
str(myUUID)to be able to use it as thedistinct_idin all calls.Since the documentation often shows UUIDs and doesn't explain that
distinct_idshould be a Number orstring_types, it might be worth addinguuid.UUIDtoID_TYPESat https://github.com/PostHog/posthog-python/blob/master/posthog/client.py#L24Of course, one would need to cast the UUID to
str()as well.