duneanalytics / dune-client

A framework for interacting with Dune Analytics' officially supported API service
Apache License 2.0
85 stars 22 forks source link

Add maxAge to `run_query` #76

Open bh2smith opened 1 year ago

bh2smith commented 1 year ago

This parameter should default to 1 hour and I am unsure if it specifies how long we want to wait for the function to run or if it means how fresh we want the data?

As in, if the latest results are younger than maxAge return latest, otherwise perform a full refresh.