If you need a refresher about how to use Python type hints, read here Python Type Checking (Guide).
You can also check the mypy cheat sheet. In short (very short), you can declare a function with parameters like:
And your editor (and DynaCLI) will know that:
nameis type of
strand is a required parameter.
formalis type of
booland is a required parameter.
exitis type of
intand is a required parameter.
amountis type of
floatand is a required parameter.
coloris type of
Colorand is a required parameter.
*argsvariable length arguments with type of
**kwargskeyword arguments with type of
These type hints are what give you autocomplete in your editor and several other features.
DynaCLI is based on these type hints.