From 7e9193b31e991920d42a9968b6788e3acd39e157 Mon Sep 17 00:00:00 2001 From: Harshad Hegde Date: Thu, 5 Sep 2024 13:13:30 -0500 Subject: [PATCH] deprecate function --- src/ontobot_change_agent/api.py | 2 ++ src/ontobot_change_agent/cli.py | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ontobot_change_agent/api.py b/src/ontobot_change_agent/api.py index 081951b..d16f6c2 100644 --- a/src/ontobot_change_agent/api.py +++ b/src/ontobot_change_agent/api.py @@ -13,6 +13,7 @@ import kgcl_schema.grammar.parser as kgcl_parser import requests import yaml +from deprecated import deprecated from github import Github from github.Issue import Issue from oaklib.cli import query_terms_iterator @@ -192,6 +193,7 @@ def process_issue_via_oak(input: str, commands: list, output: str = None): impl_obj.dump(output, output_format) +@deprecated(version="0.5.0", reason="Use process_issue_via_oak instead.") def process_new_term_template(body, prefix): """Process an issue generated via new term request template. diff --git a/src/ontobot_change_agent/cli.py b/src/ontobot_change_agent/cli.py index 760effb..6d1fd21 100644 --- a/src/ontobot_change_agent/cli.py +++ b/src/ontobot_change_agent/cli.py @@ -27,7 +27,6 @@ get_ontobot_implementers, process_issue_via_jar, process_issue_via_oak, - process_new_term_template, ) from ontobot_change_agent.constants import OWL_EXTENSION