You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Description of log_metrics and log_events should mention that timestamps are in UTC #869
I am wondering if perhaps the log_event method is too "loose" constraint wise as it trusts the user to provide the timestamp in the form expected by the server, perhaps this method should instead take a datetime object?
Activity
kzscisoft commentedon Oct 7, 2025
I am wondering if perhaps the
log_eventmethod is too "loose" constraint wise as it trusts the user to provide the timestamp in the form expected by the server, perhaps this method should instead take adatetimeobject?kzscisoft commentedon Oct 7, 2025
You could use:
to "smartly" detect the format but this will affect performance.
kzscisoft commentedon Oct 7, 2025
Simplest solution is to attach a validator to the input, I will do that