Hi everyone,
I'm trying to recreate code for uploading celonis user list by using Pycelonis 2.0+ version, and I've got few questions:
A) Do you know how to properly update packages in Jupyter Notebook/ML workbench environment? I've always used just "!pip install --upgrade pycelonis", command "!pip show pycelonis | grep Version" show me newest version isntalled (2.6.0 as for today), however when using PyCelonis I still see message about old PyCelonis version:
Using command mentioned in the logs itself also don't change nothing (also with '!" added in front).
For Celonis guys: it would be good to add it to PyCelonis documentation and maybe changing message text for a working one :)
B) When I'm trying to upload file in simplest scenario (no config) I see that data push job is created but cannot be executed successfully, unfortunetly googling error itself doesn't help much (seems to be some old JAVA error)
Data push logs:
Error itself:
Copyable: PyCelonisDataPushExecutionFailedError: Data push job execution failed. Status: ERROR.
Logs:
optional group groups (LIST) {
repeated group list {
optional int32 item;
}
} is not primitive
Any ideas for those two problems? For general public, now you can send request using new syntax:
celonis = get_celonis(permissions=False)
response = celonis.client.request(url=celonis.client.base_url + '/api/members?includeInternal=true', method='GET')
usersJson = json.loads(response.text)
usersDf = pd.DataFrame(usersJson)
Best Regards,
Mateusz Dudek