-
Notifications
You must be signed in to change notification settings - Fork 56
Transform cached state for display names or internal names #2257
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@prmukherj Have you tried this branch out? Is the cached state now coming with display names? @seanpearsonuk, yes pulled it into my branch and tried it with switching display names on. Working fine. |
@prmukherj I'll investigate the test failures. |
Looking at one of the failing test |
Thank you @mkundu1 for the input. I'll check this. |
* TaskObject updates. * Minor issue fix in launcher. * Fix return state. * Minor fixes. * Linearise logic for getting ip and port. * Revert changes. * Added test for callable task-objects.
@prmukherj @seanpearsonuk
The assert is executed before the cache is updated with the streamed state. |
@mkundu1, @seanpearsonuk , what should be our approach then? Shall we fix the test along this new behavior? The earlier behavior seems inaccurate then, right? |
The cached state returned from
DataModelCache.get_state(rules, obj, name_key)
will contain display names or internal names based on the parametername_key