Skip to content

Commit 1e40981

Browse files
authored
Remove inorrect comment in annotations import (#378)
1 parent 9ff48ad commit 1e40981

14 files changed

Lines changed: 14 additions & 14 deletions

src/model_api/adapters/inference_adapter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# SPDX-License-Identifier: Apache-2.0
44
#
55

6-
from __future__ import annotations # TODO: remove when Python3.9 support is dropped
6+
from __future__ import annotations
77

88
from abc import ABC, abstractmethod
99
from dataclasses import dataclass, field

src/model_api/adapters/onnx_adapter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# SPDX-License-Identifier: Apache-2.0
44
#
55

6-
from __future__ import annotations # TODO: remove when Python3.9 support is dropped
6+
from __future__ import annotations
77

88
import sys
99
from functools import partial, reduce

src/model_api/adapters/openvino_adapter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# SPDX-License-Identifier: Apache-2.0
44
#
55

6-
from __future__ import annotations # TODO: remove when Python3.9 support is dropped
6+
from __future__ import annotations
77

88
import logging as log
99
from pathlib import Path

src/model_api/adapters/ovms_adapter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# SPDX-License-Identifier: Apache-2.0
44
#
55

6-
from __future__ import annotations # TODO: remove when Python3.9 support is dropped
6+
from __future__ import annotations
77

88
import re
99
from typing import Any, Callable

src/model_api/adapters/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# SPDX-License-Identifier: Apache-2.0
44
#
55

6-
from __future__ import annotations # TODO: remove when Python3.9 support is dropped
6+
from __future__ import annotations
77

88
import math
99
from functools import partial

src/model_api/models/classification.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# SPDX-License-Identifier: Apache-2.0
44
#
55

6-
from __future__ import annotations # TODO: remove when Python3.9 support is dropped
6+
from __future__ import annotations
77

88
import copy
99
import json

src/model_api/models/image_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# SPDX-License-Identifier: Apache-2.0
44
#
55

6-
from __future__ import annotations # TODO: remove when Python3.9 support is dropped
6+
from __future__ import annotations
77

88
from typing import TYPE_CHECKING, Any
99

src/model_api/models/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# SPDX-License-Identifier: Apache-2.0
44
#
55

6-
from __future__ import annotations # TODO: remove when Python3.9 support is dropped
6+
from __future__ import annotations
77

88
import logging as log
99
import re

src/model_api/models/sam_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# SPDX-License-Identifier: Apache-2.0
44
#
55

6-
from __future__ import annotations # TODO: remove when Python3.9 support is dropped
6+
from __future__ import annotations
77

88
from copy import deepcopy
99
from typing import TYPE_CHECKING, Any

src/model_api/models/segmentation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# SPDX-License-Identifier: Apache-2.0
44
#
55

6-
from __future__ import annotations # TODO: remove when Python3.9 support is dropped
6+
from __future__ import annotations
77

88
from typing import TYPE_CHECKING
99

0 commit comments

Comments
 (0)