From 17b7d0da2a725f4febe7103f8d28fd831e09be02 Mon Sep 17 00:00:00 2001 From: a-dubs Date: Tue, 17 Sep 2024 13:30:37 -0400 Subject: [PATCH] removed typehints from a source code file --- cloudinit/sources/DataSourceOracle.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cloudinit/sources/DataSourceOracle.py b/cloudinit/sources/DataSourceOracle.py index cca9488ab88..743f9451c65 100644 --- a/cloudinit/sources/DataSourceOracle.py +++ b/cloudinit/sources/DataSourceOracle.py @@ -367,7 +367,7 @@ class DataSourceOracleNet(DataSourceOracle): perform_dhcp_setup = False -def _read_system_uuid() -> Optional[str]: +def _read_system_uuid(): # removed return typehint to test github action sys_uuid = dmi.read_dmi_data("system-uuid") return None if sys_uuid is None else sys_uuid.lower() @@ -377,7 +377,7 @@ def _is_platform_viable() -> bool: return asset_tag == CHASSIS_ASSET_TAG -def _url_version(url: str) -> int: +def _url_version(url) -> int: # removed arg typehint to test github action return 2 if url.startswith("http://169.254.169.254/opc/v2") else 1