mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fix JobState type annotations
This commit is contained in:
@@ -971,7 +971,7 @@ class JobWrapper(HasResourceParameters):
|
||||
self.user_id = job.user_id
|
||||
self.tool = queue.app.toolbox.get_tool(job.tool_id, job.tool_version, exact=True)
|
||||
self.queue = queue
|
||||
self.app = queue.app
|
||||
self.app: MinimalManagerApp = queue.app
|
||||
self.sa_session = self.app.model.context
|
||||
self.extra_filenames: List[str] = []
|
||||
self.environment_variables: List[Dict[str, str]] = []
|
||||
|
||||
@@ -625,6 +625,7 @@ class JobState:
|
||||
self.runner_state_handled = False
|
||||
self.job_wrapper = job_wrapper
|
||||
self.job_destination = job_destination
|
||||
self.runner_state = None
|
||||
|
||||
self.redact_email_in_job_name = True
|
||||
if self.job_wrapper:
|
||||
|
||||
Reference in New Issue
Block a user