File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 1414except ModuleNotFoundError : # pragma: no cover - older labthings versions
1515 class InvocationError (RuntimeError ):
1616 """Fallback invocation error for older labthings-fastapi versions."""
17- from labthings_fastapi .outputs .blob import Blob
17+ try :
18+ from labthings_fastapi .outputs .blob import Blob
19+ except ImportError : # pragma: no cover - labthings-fastapi 0.0.6
20+ from labthings_fastapi .outputs .blob import BlobOutput as Blob
1821
1922from config import (
2023 CMD_SET_RESOLUTION ,
Original file line number Diff line number Diff line change 1414except ModuleNotFoundError : # pragma: no cover - older labthings versions
1515 class InvocationError (RuntimeError ):
1616 """Fallback invocation error for older labthings-fastapi versions."""
17- from labthings_fastapi .outputs .blob import Blob
17+ try :
18+ from labthings_fastapi .outputs .blob import Blob
19+ except ImportError : # pragma: no cover - labthings-fastapi 0.0.6
20+ from labthings_fastapi .outputs .blob import BlobOutput as Blob
1821
1922from config import (
2023 CMD_SET_RESOLUTION ,
You can’t perform that action at this time.
0 commit comments