mirror of https://github.com/m-labs/artiq.git
style fix: remove () in return
https://github.com/m-labs/artiq/pull/1188#discussion_r230596860
This commit is contained in:
parent
7074615ebc
commit
32b0013cc4
|
@ -496,7 +496,7 @@ class Server(_AsyncioServer):
|
||||||
# Fix issue #1186: PYON can't serialize type annotations.
|
# Fix issue #1186: PYON can't serialize type annotations.
|
||||||
if any(argspec_dict.get("annotations", {})):
|
if any(argspec_dict.get("annotations", {})):
|
||||||
argspec_dict["annotations"] = str(argspec_dict["annotations"])
|
argspec_dict["annotations"] = str(argspec_dict["annotations"])
|
||||||
return (argspec_dict, inspect.getdoc(function))
|
return argspec_dict, inspect.getdoc(function)
|
||||||
|
|
||||||
async def _process_action(self, target, obj):
|
async def _process_action(self, target, obj):
|
||||||
if self._noparallel is not None:
|
if self._noparallel is not None:
|
||||||
|
|
Loading…
Reference in New Issue