philipp-zettl commited on
Commit
2741c37
1 Parent(s): fe54d1e

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -0
handler.py CHANGED
@@ -18,6 +18,7 @@ class EndpointHandler():
18
  A :obj:`list` | `dict`: will be serialized and returned
19
  """
20
  # get inputs
 
21
  parameters = data.pop("parameters", None)
22
 
23
  # pass inputs with all kwargs in data
 
18
  A :obj:`list` | `dict`: will be serialized and returned
19
  """
20
  # get inputs
21
+ inputs = data.pop("inputs", data)
22
  parameters = data.pop("parameters", None)
23
 
24
  # pass inputs with all kwargs in data