File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ class InitResponseModel(ResponseModel):
7070 ),
7171 ] = None
7272
73- enable_experimental : Annotated [bool , Field (title = "Enable experimental features" )] = False
73+ experimental : Annotated [bool | None , Field (title = "Enable experimental features" )] = None
7474
7575
7676class InitRequest (APIRequest ):
@@ -106,7 +106,7 @@ async def handle(
106106 if user is None :
107107 return InitResponseModel (
108108 motd = motd ,
109- enable_experimental = nebula .config .enable_experimental ,
109+ experimental = nebula .config .enable_experimental or None ,
110110 )
111111
112112 # TODO: get preferred user language
@@ -124,5 +124,5 @@ async def handle(
124124 settings = client_settings ,
125125 frontend_plugins = plugins ,
126126 scoped_endpoints = server_context .scoped_endpoints ,
127- enable_experimental = nebula .config .enable_experimental ,
127+ experimental = nebula .config .enable_experimental or None ,
128128 )
You can’t perform that action at this time.
0 commit comments