summaryrefslogtreecommitdiff
path: root/cloudinit/config/cc_byobu.py
diff options
context:
space:
mode:
authorBrett Holman <bholman.devel@gmail.com>2022-02-14 12:24:00 -0700
committerGitHub <noreply@github.com>2022-02-14 13:24:00 -0600
commit50195ec8d1052d2b7a80f47a3709ebc4e74d6764 (patch)
tree4abf46c23a891199f5e13aff3071feaebeb36d38 /cloudinit/config/cc_byobu.py
parent9ba3ca6ce5013207737e431f52735c7eda3a2fbb (diff)
downloadvyos-cloud-init-50195ec8d1052d2b7a80f47a3709ebc4e74d6764.tar.gz
vyos-cloud-init-50195ec8d1052d2b7a80f47a3709ebc4e74d6764.zip
use PEP 589 syntax for TypeDict (#1253)
Use PEP 589 syntax for TypeDict annotation. Also fixes previously broken typing MetaSchema typing implementation.
Diffstat (limited to 'cloudinit/config/cc_byobu.py')
-rwxr-xr-xcloudinit/config/cc_byobu.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/config/cc_byobu.py b/cloudinit/config/cc_byobu.py
index b96736a4..fbc20410 100755
--- a/cloudinit/config/cc_byobu.py
+++ b/cloudinit/config/cc_byobu.py
@@ -9,7 +9,7 @@
"""Byobu: Enable/disable byobu system wide and for default user."""
from cloudinit import subp, util
-from cloudinit.config.schema import get_meta_doc
+from cloudinit.config.schema import MetaSchema, get_meta_doc
from cloudinit.distros import ug_util
from cloudinit.settings import PER_INSTANCE
@@ -32,7 +32,7 @@ Valid configuration options for this module are:
"""
distros = ["ubuntu", "debian"]
-meta = {
+meta: MetaSchema = {
"id": "cc_byobu",
"name": "Byobu",
"title": "Enable/disable byobu system wide and for default user",