]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
pybind/mgr/orchestrator: fix yaml representer return type
authorJohn Mulligan <jmulligan@redhat.com>
Sat, 20 Jan 2024 15:45:46 +0000 (10:45 -0500)
committerJohn Mulligan <jmulligan@redhat.com>
Tue, 23 Jan 2024 14:45:40 +0000 (09:45 -0500)
commitfe649aa78cd8a4fd1775f6cb9c74c7002779f24b
tree5badaccdb072f09439083bea98809540d736d376
parenta354f626fe8a1a4468ed7ff4f253091bfb9f743d
pybind/mgr/orchestrator: fix yaml representer return type

Found using mypy 0.990. The `yaml_representer` function returns a Node
type, not Any. Newer versions of mypy understand this and complain.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/pybind/mgr/orchestrator/_interface.py
src/pybind/mgr/orchestrator/module.py