From b8354d3e8e2f48506de40163e5be9611aff59d50 Mon Sep 17 00:00:00 2001 From: Joel Collins Date: Mon, 30 Nov 2020 17:11:30 +0000 Subject: [PATCH] Added type information to LABTHINGS_EXTENSIONS --- openflexure_microscope/api/default_extensions/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/openflexure_microscope/api/default_extensions/__init__.py b/openflexure_microscope/api/default_extensions/__init__.py index 1c080a93..6cbef3be 100644 --- a/openflexure_microscope/api/default_extensions/__init__.py +++ b/openflexure_microscope/api/default_extensions/__init__.py @@ -1,8 +1,10 @@ import logging import traceback from contextlib import contextmanager +from labthings.extensions import BaseExtension +from typing import List, Type -LABTHINGS_EXTENSIONS = [] +LABTHINGS_EXTENSIONS: List[Type[BaseExtension]] = [] @contextmanager