pylib is incompatible to string ids
I tried to run a query on an instance of LinkAhead (https://linkahead.testbed.pid.gwdg.de/), that seems to have activated String IDs. I expected the following command to return a list of Records:
db.execute_query("FIND Record")
Instead, I got the following error message:
File (...)/caosdb-pylib/src/linkahead/common/models.py:262, in Entity.id(self, new_id)
260 if new_id is not None:
261 if not isinstance(new_id, int):
--> 262 new_id = int(new_id)
263 self.__id: Optional[int] = new_id
264 else:
ValueError: invalid literal for int() with base 10: '21.T11965/79e9a4f0-5412-431c-bc15-687243155072'