You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lookups a batch of records on a DSS API node endpoint of "dataset lookup" type
135
103
136
104
:param str endpoint_id: Identifier of the endpoint to query
137
-
:param records: Python list of records. Each record must be a Python dict. Each record must contain a "data"dict (see predict_record) and optionally a "context" dict.
105
+
:param records: Python list of records. Each record must be a Python dict, containing at least one entry called "data": a dict containing the input columns
138
106
139
-
:return: a Python dict of the API answer. The answer contains a "results" key (which is an array of result objects)
107
+
:return: a Python dict of the API answer. The answer contains a "results" key, which is an array of result objects. Each result contains a "data" dict which is the output
140
108
"""
109
+
141
110
forrecordinrecords:
142
111
ifnot"data"inrecord:
143
112
raiseValueError("Each record must contain a 'data' dict")
0 commit comments