Skip to content

Commit ebbc5b1

Browse files
committed
Make Job.get_param_values as deprecated
1 parent aaf8f4b commit ebbc5b1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/galaxy/model/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@
130130
from sqlalchemy.orm.session import Session
131131
from sqlalchemy.sql.expression import FromClause
132132
from typing_extensions import (
133+
deprecated,
133134
Literal,
134135
NotRequired,
135136
Protocol,
@@ -2031,6 +2032,7 @@ def set_state(self, state: JobState) -> bool:
20312032
self.state_history.append(JobStateHistory(self))
20322033
return True
20332034

2035+
@deprecated("Use tool.get_param_values(job) instead")
20342036
def get_param_values(self, app, ignore_errors=False):
20352037
"""
20362038
Read encoded parameter values from the database and turn back into a

0 commit comments

Comments
 (0)