Update patch_specklepy.py

move import inside the function, as "alien" imports are not recognized by pygeoapi
This commit is contained in:
KatKatKateryna
2024-08-15 20:33:36 +08:00
committed by GitHub
parent fad6300654
commit ec04220183
@@ -1,11 +1,11 @@
import sys
from pathlib import Path
import shutil
import specklepy
import pygeoapi
def get_specklepy_path():
import specklepy
return Path(specklepy.__file__).parent