Commit 707f23b5 authored by Michael Hanselmann's avatar Michael Hanselmann

objects: Add QueryFieldDefinition

Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent dae91d02
......@@ -1380,6 +1380,21 @@ class ConfdReply(ConfigObject):
]
class QueryFieldDefinition(ConfigObject):
"""Object holding a query field definition.
@ivar name: Field name as a regular expression
@ivar title: Human-readable title
@ivar kind: Field type
"""
__slots__ = [
"name",
"title",
"kind",
]
class SerializableConfigParser(ConfigParser.SafeConfigParser):
"""Simple wrapper over ConfigParse that allows serialization.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment