Skip to content

Commit 7966c3f

Browse files
committed
add defaults
1 parent 9d2b9b7 commit 7966c3f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

grafana_dashboard/model/bargaugepanelcfg_types_gen.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
from enum import Enum
66
from typing import List, Optional
77

8-
from grafana_dashboard.utils import MyBaseModel
98
from pydantic import Field, conint
109

10+
from grafana_dashboard.utils import MyBaseModel
11+
1112

1213
class BarGaugeDisplayMode(Enum):
1314
basic = 'basic'
@@ -55,7 +56,7 @@ class SingleStatBaseOptions(OptionsWithTextFormatting):
5556

5657
class PanelOptions(SingleStatBaseOptions):
5758
displayMode: BarGaugeDisplayMode
58-
valueMode: BarGaugeValueMode
59+
valueMode: Optional[BarGaugeValueMode] = None # NOTE MODIFIED
5960
showUnfilled: bool
6061
minVizWidth: conint(ge=0, le=4294967295)
6162
minVizHeight: conint(ge=0, le=4294967295)

0 commit comments

Comments
 (0)