We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d07367 commit aa2794eCopy full SHA for aa2794e
apps/pyscript_autocomplete/__init__.py
@@ -82,7 +82,7 @@ def create_service(self, domain_id, service_id, service):
82
if selector_id == "number":
83
# TODO add min, max... to docstring
84
is_float = False
85
- if "step" in selector:
+ if selector and "step" in selector:
86
is_float = isinstance(selector["step"], float) or selector["step"] == "any"
87
88
arg_annotation = ast.Name(id="float" if is_float else "int")
0 commit comments