Add more appropriate default params

windows_fixes_yo
Tyler Goodlet 2022-02-07 13:59:26 -05:00
parent ee4ad32d3b
commit 30cf54480d
1 changed files with 12 additions and 6 deletions

View File

@ -158,7 +158,11 @@ async def open_fsp_sidepane(
sidepane.model = FspConfig() sidepane.model = FspConfig()
# just a logger for now until we get fsp configs up and running. # just a logger for now until we get fsp configs up and running.
async def settings_change(key: str, value: str) -> bool: async def settings_change(
key: str,
value: str
) -> bool:
print(f'{key}: {value}') print(f'{key}: {value}')
return True return True
@ -573,12 +577,14 @@ async def open_vlm_displays(
async with ( async with (
open_fsp_sidepane( open_fsp_sidepane(
linked, { linked, {
'vlm': { 'flows': {
# TODO: add support for dynamically changing these
'params': { 'params': {
'price_func': { u'\u03BC' + '_type': {'default_value': 'arithmetic'},
'default_value': 'chl3', 'period': {
# tell target ``Edit`` widget to not allow 'default_value': '16',
# edits for now. # make widget un-editable for now.
'widget_kwargs': {'readonly': True}, 'widget_kwargs': {'readonly': True},
}, },
}, },