If you pass in a dictionary to addEvent that doesn't have a timestamp, we'll set keen.timestamp on that dictionary. That's normally fine, but if, for some reason, you re-use that dictionary for a later invocation of addEvent, that timestamp will still be there, which is no good.
We'll either need to not mutate the dictionary (probably the right move), return the dictionary to its original form, or do something else.
If you pass in a dictionary to
addEvent
that doesn't have a timestamp, we'll setkeen.timestamp
on that dictionary. That's normally fine, but if, for some reason, you re-use that dictionary for a later invocation ofaddEvent
, that timestamp will still be there, which is no good.We'll either need to not mutate the dictionary (probably the right move), return the dictionary to its original form, or do something else.