Conversation
|
Assuming the paginator works as expected in the backend (if |
I've confirmed this branch works with |
jtharris
left a comment
There was a problem hiding this comment.
This is great and fixes some pretty critical issues, but I'd also like to think about few other things:
-
Are we actually using the
nexturl to fetch the next page? There are lots of benefits to doing this, a big one being that we don't have to thread any knowledge of paging throughout the client. -
Are there any other missing module types? The specific bug that we are addressing in development is with design spaces, not predictors, right?
I would like to capture this, as I think this is the whole point of the API and something we should be doing. Saying that, I'd like to get over the dev0 and log a ticket for this. |
We're not currently using it. I agree there's a lot of benefit of using it, but I didn't want to pull that change in to this PR because that would have been a larger refactor.
Absolutely. I missed that in my PR description as a todo, but I will be going through and adding the other module types supported. The ones I see are |
bfolie
left a comment
There was a problem hiding this comment.
I think we should add the _module_type field to Workflow. Otherwise LGTM
I ran into a problem with this since the backend distinguishes between performance and design workflows on the list endpoint, but the client doesn't. So it would require a slightly different fix client side. Since that change isn't necessary to get us past the dev0, I was going to handle it in a separate pr. |
Let's write up a separate issue for that, but yes, I agree. @bfolie are we okay with that? |
Citrine Python PR
Description
This is still WIP
This PR attempts to address these two main issues:
Solution summaries:
_module_typefield that can be used in the list endpoint (so far only to predictors, but I'm also going to add it to other supported modules)nextfield provided in the backend response field to determine if we are at the end of the paginationThings I'm still working on:
PR Type:
Adherence to team decisions