Skip to content

Commit 79cd2c4

Browse files
committed
Resolve pylint warnings on AqMetadata dataclass
These are invalid, as the pattern is determined by the upstream library, so suppress and add a placeholder class string
1 parent 71cf8df commit 79cd2c4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

OpenStack-Rabbit-Consumer/rabbit_consumer/aq_metadata.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,12 @@ class AqMetadata(DataClassDictMixin):
2323
aq_os_version: str
2424
aq_os: str
2525

26+
# pylint: disable=too-few-public-methods
2627
class Config(BaseConfig):
28+
"""
29+
Sets the aliases for the metadata keys
30+
"""
31+
2732
aliases = {
2833
"aq_archetype": "AQ_ARCHETYPE",
2934
"aq_domain": "AQ_DOMAIN",

0 commit comments

Comments
 (0)