The methods argument to TaskServer creates method names implictly, for example in the code:
task_server = LocalTaskServer(
...,
methods=[foo, bar.baz]
)
the methods will be called foo and baz, but code like
task_server = LocalTaskServer(
...,
methods=[foo, bar.baz, qux.baz]
)
will cause issues.
The
methodsargument toTaskServercreates method names implictly, for example in the code:the methods will be called
fooandbaz, but code likewill cause issues.