diff --git a/uwsift/model/document.py b/uwsift/model/document.py index f55522e3..4400cc36 100644 --- a/uwsift/model/document.py +++ b/uwsift/model/document.py @@ -55,7 +55,7 @@ :copyright: 2015 by University of Wisconsin Regents, see AUTHORS for more details :license: GPLv3, see LICENSE for more details """ -from uwsift.model.layer import Mixing, DocLayer, DocBasicLayer, DocRGBLayer, DocCompositeLayer +from __future__ import annotations __author__ = 'rayg' __docformat__ = 'reStructuredText' @@ -81,6 +81,7 @@ from uwsift.workspace import Workspace from uwsift.util.default_paths import DOCUMENT_SETTINGS_DIR from uwsift.model.composite_recipes import RecipeManager, CompositeRecipe +from uwsift.model.layer import Mixing, DocLayer, DocBasicLayer, DocRGBLayer, DocCompositeLayer from uwsift.view.colormap import COLORMAP_MANAGER, PyQtGraphColormap, SITE_CATEGORY, USER_CATEGORY from uwsift.queue import TASK_PROGRESS, TASK_DOING from PyQt5.QtCore import QObject, pyqtSignal @@ -450,7 +451,7 @@ def _product_info_under_playhead_for_family(self, family: str) -> typ.Mapping: """ raise NotImplementedError("need to consult mdb to get product info dictionary under playhead") - def get_info(self, dex: [int, UUID]): + def get_info(self, dex: list[int, UUID]): """return info dictionary with top z-order at 0, going downward """ if isinstance(dex, UUID):