--
You received this message because you are subscribed to the Google Groups "clearlydefined" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clearlydefine...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/clearlydefined/02AEFC68-9606-4F65-A953-A8CAF97FF86E%40jetbrains.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/clearlydefined/CAFifBTrbSpWmTKXkikW31zkWO2HS84v6BPgGQSTqHhdjXMwnew%40mail.gmail.com.
We use the /definitions endpoint for batch queries.I had to play with batch sizes a bit, but settled on querying in batches of 500.If any of your IDs are not well-formed, the whole lot gets rejected, so make sure that you check them before you send them.It also sometimes rejects well-formed IDs (AFAICT it's a handful of pypi coordinates that causes the issue but have not been able to diagnose if further). I wrote some defensive code that recursively splits the content and re-runs the queries to work around the offending items. There more on Issue 957.HTH,Wayne
To view this discussion on the web visit https://groups.google.com/d/msgid/clearlydefined/132AD4EE-A24B-4643-8C1F-3E0E0BB11DEC%40jetbrains.com.
--Wayne Beaton
Director of Open Source Projects | Eclipse Foundation
My working day may not be your working day! Please don’t feel obliged to read or reply to this e-mail outside of your normal working hours.
To view this discussion on the web visit https://groups.google.com/d/msgid/clearlydefined/132AD4EE-A24B-4643-8C1F-3E0E0BB11DEC%40jetbrains.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/clearlydefined/DS7PR21MB32205BCFA1AD9F765534DE51E613A%40DS7PR21MB3220.namprd21.prod.outlook.com.