Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/model_api/adapters/inference_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# SPDX-License-Identifier: Apache-2.0
#

from __future__ import annotations # TODO: remove when Python3.9 support is dropped
from __future__ import annotations

from abc import ABC, abstractmethod
from dataclasses import dataclass, field
Expand Down
2 changes: 1 addition & 1 deletion src/model_api/adapters/onnx_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# SPDX-License-Identifier: Apache-2.0
#

from __future__ import annotations # TODO: remove when Python3.9 support is dropped
from __future__ import annotations

import sys
from functools import partial, reduce
Expand Down
2 changes: 1 addition & 1 deletion src/model_api/adapters/openvino_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# SPDX-License-Identifier: Apache-2.0
#

from __future__ import annotations # TODO: remove when Python3.9 support is dropped
from __future__ import annotations

import logging as log
from pathlib import Path
Expand Down
2 changes: 1 addition & 1 deletion src/model_api/adapters/ovms_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# SPDX-License-Identifier: Apache-2.0
#

from __future__ import annotations # TODO: remove when Python3.9 support is dropped
from __future__ import annotations

import re
from typing import Any, Callable
Expand Down
2 changes: 1 addition & 1 deletion src/model_api/adapters/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# SPDX-License-Identifier: Apache-2.0
#

from __future__ import annotations # TODO: remove when Python3.9 support is dropped
from __future__ import annotations

import math
from functools import partial
Expand Down
2 changes: 1 addition & 1 deletion src/model_api/models/classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# SPDX-License-Identifier: Apache-2.0
#

from __future__ import annotations # TODO: remove when Python3.9 support is dropped
from __future__ import annotations

import copy
import json
Expand Down
2 changes: 1 addition & 1 deletion src/model_api/models/image_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# SPDX-License-Identifier: Apache-2.0
#

from __future__ import annotations # TODO: remove when Python3.9 support is dropped
from __future__ import annotations

from typing import TYPE_CHECKING, Any

Expand Down
2 changes: 1 addition & 1 deletion src/model_api/models/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# SPDX-License-Identifier: Apache-2.0
#

from __future__ import annotations # TODO: remove when Python3.9 support is dropped
from __future__ import annotations

import logging as log
import re
Expand Down
2 changes: 1 addition & 1 deletion src/model_api/models/sam_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# SPDX-License-Identifier: Apache-2.0
#

from __future__ import annotations # TODO: remove when Python3.9 support is dropped
from __future__ import annotations

from copy import deepcopy
from typing import TYPE_CHECKING, Any
Expand Down
2 changes: 1 addition & 1 deletion src/model_api/models/segmentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# SPDX-License-Identifier: Apache-2.0
#

from __future__ import annotations # TODO: remove when Python3.9 support is dropped
from __future__ import annotations

from typing import TYPE_CHECKING

Expand Down
2 changes: 1 addition & 1 deletion src/model_api/models/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# SPDX-License-Identifier: Apache-2.0
#

from __future__ import annotations # TODO: remove when Python3.9 support is dropped
from __future__ import annotations

from typing import Any

Expand Down
2 changes: 1 addition & 1 deletion src/model_api/models/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# SPDX-License-Identifier: Apache-2.0
#

from __future__ import annotations # TODO: remove when Python3.9 support is dropped
from __future__ import annotations

from pathlib import Path
from typing import TYPE_CHECKING
Expand Down
2 changes: 1 addition & 1 deletion src/model_api/models/visual_prompting.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# SPDX-License-Identifier: Apache-2.0
#

from __future__ import annotations # TODO: remove when Python3.9 support is dropped
from __future__ import annotations

from collections import defaultdict
from itertools import product
Expand Down
2 changes: 1 addition & 1 deletion src/model_api/visualizer/visualizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Copyright (C) 2024-2025 Intel Corporation
# SPDX-License-Identifier: Apache-2.0

from __future__ import annotations # TODO: remove when Python3.9 support is dropped
from __future__ import annotations

from typing import TYPE_CHECKING

Expand Down