From 0794609d43a84ed09aa32e9a2ee698422fa868c1 Mon Sep 17 00:00:00 2001 From: Matt Martz Date: Thu, 30 Nov 2023 12:46:45 -0600 Subject: [PATCH] Follow our typing standards --- lib/ansible/template/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/template/__init__.py b/lib/ansible/template/__init__.py index 63ce783140b..0daaf9263a4 100644 --- a/lib/ansible/template/__init__.py +++ b/lib/ansible/template/__init__.py @@ -583,8 +583,8 @@ class AnsibleEnvironment(NativeEnvironment): def compile( # type: ignore[override] self, source: str, - name: t.Optional[str] = None, - filename: t.Optional[str] = None, + name: str | None = None, + filename: str | None = None, raw: bool = False, defer_init: bool = False, ) -> CodeType: