sematic
sematic copied to clipboard
Func-decorated functions' return types lint warning
When decorating a function with @sematic.func
, it is wrapped in a function that when invoked returns a Future
bound to the passed parameters. This return instance type clashes with the declared return type, causing a minor annoyance in IDE linting:

Figure out how to make the lint warning go away without losing current functionality.