summaryrefslogtreecommitdiffstats
path: root/module/remote/thriftbackend
diff options
context:
space:
mode:
Diffstat (limited to 'module/remote/thriftbackend')
-rw-r--r--module/remote/thriftbackend/pyload.thrift3
-rw-r--r--module/remote/thriftbackend/thriftgen/pyload/ttypes.py6
2 files changed, 7 insertions, 2 deletions
diff --git a/module/remote/thriftbackend/pyload.thrift b/module/remote/thriftbackend/pyload.thrift
index 32fe69d13..eff697d05 100644
--- a/module/remote/thriftbackend/pyload.thrift
+++ b/module/remote/thriftbackend/pyload.thrift
@@ -77,7 +77,8 @@ struct ConfigItem {
struct ConfigSection {
1: string name,
2: string description,
- 3: list<ConfigItem> items
+ 3: list<ConfigItem> items,
+ 4: optional string outline
}
struct FileData {
diff --git a/module/remote/thriftbackend/thriftgen/pyload/ttypes.py b/module/remote/thriftbackend/thriftgen/pyload/ttypes.py
index da8a2477e..fcff55ed8 100644
--- a/module/remote/thriftbackend/thriftgen/pyload/ttypes.py
+++ b/module/remote/thriftbackend/thriftgen/pyload/ttypes.py
@@ -252,12 +252,14 @@ class ConfigSection(TBase):
- name
- description
- items
+ - outline
"""
__slots__ = [
'name',
'description',
'items',
+ 'outline',
]
thrift_spec = (
@@ -265,12 +267,14 @@ class ConfigSection(TBase):
(1, TType.STRING, 'name', None, None, ), # 1
(2, TType.STRING, 'description', None, None, ), # 2
(3, TType.LIST, 'items', (TType.STRUCT,(ConfigItem, ConfigItem.thrift_spec)), None, ), # 3
+ (4, TType.STRING, 'outline', None, None, ), # 4
)
- def __init__(self, name=None, description=None, items=None,):
+ def __init__(self, name=None, description=None, items=None, outline=None,):
self.name = name
self.description = description
self.items = items
+ self.outline = outline
class FileData(TBase):