Skip to content

Commit

Permalink
deprecate function
Browse files Browse the repository at this point in the history
  • Loading branch information
hrshdhgd committed Sep 5, 2024
1 parent 4b10e26 commit 7e9193b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/ontobot_change_agent/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down
1 change: 0 additions & 1 deletion src/ontobot_change_agent/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 7e9193b

Please sign in to comment.