Replace from __future__ import annotations with the required future-import.

This commit is contained in:
Harsha Cherukuri
2026-06-24 15:21:00 -04:00
parent 0307985282
commit 82022b9031
36 changed files with 70 additions and 36 deletions

View File

@@ -5,7 +5,8 @@
# Note that this module util is **PRIVATE** to the collection. It can have breaking changes at any time.
# Do not use this from other collections or standalone plugins/modules!
from __future__ import annotations
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
import typing as t

View File

@@ -2,7 +2,8 @@
# BSD 2-Clause license (see LICENSES/BSD-2-Clause.txt)
# SPDX-License-Identifier: BSD-2-Clause
from __future__ import annotations
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
import copy
import json

View File

@@ -2,7 +2,8 @@
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
from __future__ import annotations
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
import typing as t