# HG changeset patch # User Aurélien Campéas # Date 1720192194 -7200 # Fri Jul 05 17:09:54 2024 +0200 # Node ID bf021e4ceabffa806bd6a9f3830d3193e0bd18a2 # Parent 8e81b2f332021a3001afc908c26d5c6dca7db202 cli/list-series-locks: drop use of the deprecated `apimaker` diff --git a/tshistory_refinery/cli.py b/tshistory_refinery/cli.py --- a/tshistory_refinery/cli.py +++ b/tshistory_refinery/cli.py @@ -6,8 +6,8 @@ from rework.helper import host from rework import api +from tshistory.api import timeseries from tshistory.util import find_dburi -from tshistory_refinery.helper import config, apimaker from tshistory_refinery.schema import refinery_schema from tshistory_refinery import cache @@ -64,7 +64,7 @@ dburi = find_dburi(db_uri) engine = create_engine(dburi) - tsa = apimaker(config()) + tsa = timeseries() print('Series having a lock, per policy') if policy_name: