We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b06382 commit edb5bffCopy full SHA for edb5bff
1 file changed
simpeg_drivers/driver.py
@@ -26,6 +26,8 @@
26
from pathlib import Path
27
from time import time
28
29
+from typing_extensions import Self
30
+
31
import numpy as np
32
from dask import config as dconf
33
@@ -738,7 +740,7 @@ def configure_dask(self):
738
740
dconf.set(scheduler="threads", pool=ThreadPool(n_cpu))
739
741
742
@classmethod
- def start(cls, filepath: str | Path | InputFile, **kwargs) -> BaseDriver:
743
+ def start(cls, filepath: str | Path | InputFile, **kwargs) -> Self:
744
"""
745
Start the inversion driver.
746
0 commit comments