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
not sure if this is a bug in aw_client or the server, or if this is just an undocumented but desired feature.
if you call client.get_events(<bucket_id>,start=ealier_timestamp, end=later_timestamp) and aw_server_rust is running, the list is returned in reverse order: from latest to earliest event. example:
If this is intended behavior, I think this should be mentioned in the documentation for the function.
Also, if this is a bug in the python client, let me know and I'll create an issue there, but I don't think it is, as looking at the source it's passing the params as intended and returning the results
The text was updated successfully, but these errors were encountered:
I think this is the intended sort order, as both aw-server-rust and aw-server-python (I checked) returns it this way.
Vaguely remember doing it that way for some reason, I think it's to make the limit option always return the most recent events, and then we never reverse the sort order after.
not sure if this is a bug in aw_client or the server, or if this is just an undocumented but desired feature.
if you call
client.get_events(<bucket_id>,start=ealier_timestamp, end=later_timestamp)
andaw_server_rust
is running, the list is returned in reverse order: from latest to earliest event. example:this pattern holds for any given bucket.
If this is intended behavior, I think this should be mentioned in the documentation for the function.
Also, if this is a bug in the python client, let me know and I'll create an issue there, but I don't think it is, as looking at the source it's passing the params as intended and returning the results
The text was updated successfully, but these errors were encountered: