File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ query = QueryBase(
6565)
6666print(" Results available at" , query.url ())
6767
68- dune = DuneClient.from_env ()
68+ dune = DuneClient ()
6969results = dune.run_query(query)
7070
7171# or as CSV
@@ -84,7 +84,7 @@ You can specify a `max_age_hours` to re-run the query if the data is too outdate
8484` ` ` python
8585from dune_client.client import DuneClient
8686
87- dune = DuneClient.from_env ()
87+ dune = DuneClient ()
8888results = dune.get_latest_result(1215383, max_age_hours=8)
8989` ` `
9090
@@ -108,7 +108,7 @@ sql = """
108108 LIMIT {{N}}
109109 """
110110
111- dune = DuneClient.from_env ()
111+ dune = DuneClient()
112112query = dune.create_query(
113113 name="Top {N} Most Expensive Transactions on Ethereum",
114114 query_sql=sql,
You can’t perform that action at this time.
0 commit comments