You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
classSparkJob(ProcessorJob):
"""Represent a Spark job."""def__init__(
self,
job_future: Future,
) ->None:
super().__init__()
self._job_future=job_future# TODO: Add test case to verify this method's behavior when job future# is completed exceptionally.defcancel(self) ->Future:
cancel_future: Future=Future()
job_future_callback=self._get_job_future_callback(cancel_future)
self._job_future.add_done_callback(job_future_callback)
returncancel_future
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: