added anotations import

This commit is contained in:
Jakub Trllo 2025-07-09 15:31:29 +02:00
parent 17f24b5dbf
commit ef4c5d6761
6 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,5 @@
from __future__ import annotations
import logging
import uuid

View file

@ -1,4 +1,5 @@
from __future__ import annotations
import typing
from typing import List, Tuple, Optional, Iterable, Any

View file

@ -2,7 +2,6 @@ from __future__ import annotations
import numbers
import uuid
from typing import Dict
from qtpy import QtWidgets, QtCore, QtGui
@ -249,7 +248,7 @@ class VersionDelegate(QtWidgets.QStyledItemDelegate):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self._editor_by_id: Dict[str, VersionComboBox] = {}
self._editor_by_id: dict[str, VersionComboBox] = {}
self._task_ids_filter = None
self._statuses_filter = None
self._version_tags_filter = None

View file

@ -1,4 +1,5 @@
from __future__ import annotations
import collections
from typing import Optional

View file

@ -1,3 +1,5 @@
from __future__ import annotations
import copy
import uuid
from dataclasses import dataclass

View file

@ -1,3 +1,5 @@
from __future__ import annotations
from qtpy import QtWidgets, QtCore, QtGui
from ayon_core.resources import get_ayon_icon_filepath