Skip to content

Version 1.1.4

Choose a tag to compare

@joserc87 joserc87 released this 01 Feb 13:07
· 12 commits to master since this release

Fixed

Fixed issue creating an Edge dataset without product attribute specified, but specifying the product in the RPApi object:

from ravenpackapi import RPApi, Dataset

api = RPApi(api_key="YOUR_API_KEY", product="edge")

ds = api.create_dataset(
    Dataset(
        name="New Dataset",
        filters={"entity_relevance": {"$gte": 90}},
    )
)

Since the product is not specified in Dataset's __init__, the incorrect
product was being passed to the API, resulting in the message.