import honeyhive
from honeyhive.models import operations
s = honeyhive.HoneyHive(
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
)
res = s.datasets.add_datapoints(dataset_id='<value>', request_body=operations.AddDatapointsRequestBody(
project='<value>',
data=[
{
'key': '<value>',
},
],
mapping=operations.Mapping(
inputs=[
'<value>',
],
ground_truth=[
'<value>',
],
history=[
'<value>',
],
),
))
if res.object is not None:
# handle response
pass