Update node api interface
[THIS MIGHT BE RESOLVED WITH HELPY MIGRATION]
The typing is incorrect.
-
The parameters should be specialized stricter. E.g there is a huge list of sorting options available to each method but e.g
database_api.list_proposals
doesn't accept them all, just selective ones. -
Also e.g. in database API some methods (if not all) could accept an empty list as
start
parameter. Look at workaround here
and..
- Default values should be also provided.
Edited by Mateusz Żebrak