Don't allow null as notes
This commit is contained in:
@@ -531,7 +531,7 @@ class BacktestHistoryEntry(BaseModel):
|
||||
|
||||
class BacktestMetadataUpdate(BaseModel):
|
||||
strategy: str
|
||||
notes: Optional[str]
|
||||
notes: str = ''
|
||||
|
||||
|
||||
class SysInfo(BaseModel):
|
||||
|
||||
Reference in New Issue
Block a user