Skip to content

Commit

Permalink
keep old method name
Browse files Browse the repository at this point in the history
  • Loading branch information
dsavchenko committed Nov 4, 2024
1 parent ade3b07 commit 3697895
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cdci_data_analysis/analysis/queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,12 @@ def get_parameters_list_jsonifiable(self, prod_dict=None):
l1 = self._remove_duplicates_from_par_list(l)
return l1

def get_parameters_list_as_json(self, prod_dict=None):
logger.warning("Method name 'get_parameters_list_as_json' is deptrecated, "

Check warning on line 408 in cdci_data_analysis/analysis/queries.py

View check run for this annotation

Codecov / codecov/patch

cdci_data_analysis/analysis/queries.py#L408

Added line #L408 was not covered by tests
"please use 'get_parameters_list_jsonifiable'")
self.get_parameters_list_jsonifiable(prod_dict=prod_dict)

Check warning on line 410 in cdci_data_analysis/analysis/queries.py

View check run for this annotation

Codecov / codecov/patch

cdci_data_analysis/analysis/queries.py#L410

Added line #L410 was not covered by tests


def get_prod_by_name(self,name):
return self.query_prod_list.get_prod_by_name(name)

Expand Down

0 comments on commit 3697895

Please sign in to comment.