graphsense / graphsense-python

A Python client for the GraphSense REST interface.
MIT License
19 stars 3 forks source link

list_entity_neighbors raises Api Type Error #3

Closed behas closed 3 years ago

behas commented 3 years ago

ApiTypeError: Invalid type for variable 'id'. Required value type is str and passed type was int at ['received_data']['neighbors'][0]['id']

Example

with graphsense.ApiClient(configuration) as api_client:
    api_instance = entities_api.EntitiesApi(api_client)
    try:
        # Retrieve the entity object (including tags)
        entity_neighbors_obj = api_instance.list_entity_neighbors('btc', 203719034, direction='in')
        # pprint(entity_neighbors_obj)
    except graphsense.ApiException as e:
        print("Exception when calling EntitiesApi: %s\n" % e)
myrho commented 3 years ago

Fixed