added support for additional more user-friendly interfaces, improved some part of the application loading process to make it a bit simpler
This commit is contained in:
parent
1a49aa3779
commit
f647c960dd
20 changed files with 353 additions and 107 deletions
|
@ -10,12 +10,14 @@ types: dict[str, type] = {
|
|||
"float": float,
|
||||
"str": str,
|
||||
"bytes": bytes,
|
||||
"list": list,
|
||||
"tuple": tuple,
|
||||
"set": set,
|
||||
"dict": dict,
|
||||
"datetime": datetime,
|
||||
"file": UploadFile,
|
||||
|
||||
# TODO(Faraphel): use a "ParameterRegistry" or other functions to handle complex type ?
|
||||
"list[dict]": list[dict],
|
||||
# "tuple": tuple,
|
||||
# "set": set,
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue