fix NOT NULL constraint failed: core_snapshot.created_by_id

This commit is contained in:
Nick Sweeting
2024-08-28 00:51:16 -07:00
parent b789be098d
commit 6456cb1727
2 changed files with 4 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ def no_empty_args(args: List[str]) -> List[str]:
assert all(len(arg) for arg in args)
return args
ExtractorName = Literal['wget', 'warc', 'media']
ExtractorName = Literal['wget', 'warc', 'media', 'singlefile'] | str
HandlerFuncStr = Annotated[str, AfterValidator(lambda s: s.startswith('self.'))]
CmdArgsList = Annotated[List[str], AfterValidator(no_empty_args)]