You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** * Find id of link by packageName/id as first argument, and Contain value (name) as path items. * @description Thows error if id not founded. You can set last argument true, for disable throwing error. * @returns number */
async id(start: DeepClientStartItem|BoolExpLink, ...path: DeepClientPathItem[]): Promise<number>{if(typeof(start)==='object'){return((awaitthis.select(start))asany)?.data?.[0]?.id;}if(_ids?.[start]?.[path[0]]){return_ids[start][path[0]];}constq=awaitthis.select(pathToWhere(start, ...path));if(q.error){throwq.error;}// @ts-ignoreconstresult=(q?.data?.[0]?.id|_ids?.[start]?.[path?.[0]]|0);if(!result&&path[path.length-1]!==true){thrownewError(`Id not found by [${JSON.stringify([start, ...path])}]`);}returnresult;};
Translate this code to python and integrate in instead unimplemented id method in python/deepclient/deep_client.py.
The text was updated successfully, but these errors were encountered:
Translate this code to python and integrate in instead unimplemented
id
method inpython/deepclient/deep_client.py
.The text was updated successfully, but these errors were encountered: