From 78b16bee1e68784c3eac64a9fd5846e1c5bcaaf6 Mon Sep 17 00:00:00 2001 From: James Falcon Date: Tue, 17 Sep 2024 07:35:12 -0500 Subject: [PATCH] chore: fix typing of userdata_raw --- cloudinit/sources/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudinit/sources/__init__.py b/cloudinit/sources/__init__.py index d8182086fa0..6d906ec403b 100644 --- a/cloudinit/sources/__init__.py +++ b/cloudinit/sources/__init__.py @@ -319,7 +319,7 @@ def __init__(self, sys_cfg, distro: Distro, paths: Paths, ud_proc=None): self.paths = paths self.userdata: Optional[Any] = None self.metadata: dict = {} - self.userdata_raw: Optional[str] = None + self.userdata_raw: Optional[Union[str, bytes]] = None self.vendordata = None self.vendordata2 = None self.vendordata_raw = None