@@ -174,6 +174,7 @@ def _get_driver(
174174 with_progressbar : bool = False ,
175175 config : dict = {},
176176 reload : bool = False ,
177+ verify : bool = False ,
177178 ** kwargs ,
178179 ) -> tuple [driver .Driver , Callable | None ]:
179180 """
@@ -189,6 +190,7 @@ def _get_driver(
189190 Defaults to None.
190191 with_opentelemetry (bool, optional): Whether to use OpenTelemetry. Defaults to False.
191192 reload (bool, optional): Whether to reload the module. Defaults to False.
193+ verify (bool, optional): Whether to verify ssl certificates. Defaults to False.
192194 **kwargs: Additional keyword arguments.
193195
194196 Keyword Args:
@@ -234,7 +236,7 @@ def _get_driver(
234236 "Please provide a project_id if you want to use the tracker"
235237 )
236238
237- tracker = HamiltonTracker (** tracker_kwargs )
239+ tracker = HamiltonTracker (verify = verify , ** tracker_kwargs )
238240 adapters .append (tracker )
239241
240242 if with_opentelemetry and h_opentelemetry is not None :
@@ -433,9 +435,7 @@ def run_job(
433435 job_executor = (
434436 executor
435437 if executor in ["async" , "threadpool" , "processpool" , "" ]
436- else "threadpool"
437- if executor == "future_adapter"
438- else "threadpool"
438+ else "threadpool" if executor == "future_adapter" else "threadpool"
439439 ),
440440 )
441441
@@ -514,9 +514,7 @@ def add_job(
514514 job_executor = (
515515 executor
516516 if executor in ["async" , "threadpool" , "processpool" , "" ]
517- else "threadpool"
518- if executor == "future_adapter"
519- else "threadpool"
517+ else "threadpool" if executor == "future_adapter" else "threadpool"
520518 ),
521519 result_expiration_time = result_expiration_time ,
522520 )
@@ -658,9 +656,7 @@ def _get_id() -> str:
658656 job_executor = (
659657 executor
660658 if executor in ["async" , "threadpool" , "processpool" , "" ]
661- else "threadpool"
662- if executor == "future_adapter"
663- else "threadpool"
659+ else "threadpool" if executor == "future_adapter" else "threadpool"
664660 ),
665661 ** schedule_kwargs ,
666662 )
0 commit comments