01/25/2023, 3:32 PM
Hey 👋 question about the API client usage in go - we have the following call to
we're trying to get those resources and put them into a slice. The only way we found so-far is in line 81-90 but this looks a bit strange. Is there another, more idiomatic way? If not, can you tell us more about the reason this is how it is?
see model.yaml for the model to evaluate here 🙂
01/25/2023, 3:35 PM
, but otherwise seems fine:
01/25/2023, 3:45 PM
thanks, changed the error handling.
01/25/2023, 3:46 PM
Out of curiosity- is this meant to abstract out the results streaming/paging?
01/25/2023, 3:51 PM
we don't support paging
LookupResources and LookupSubjects are streaming, yes
01/25/2023, 5:17 PM
Makes sense - thanks!
01/25/2023, 5:21 PM
long term, the goal for LR is to have a cache