SDK: Change API's return type to custom object
See original GitHub issue/kind feature
Describe the solution you’d like [A clear and concise description of what you want to happen.]
For now, Many APIs in katib_client.py don’t treat type strictly, just using dict
.
We could change those to deserialize well, and finally use katib’s custom objects(classes).
There was a discussion for this issue.
Anything else you would like to add: [Miscellaneous information that will assist in solving the issue.]
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Change returned object value after action execution in Web API
What I want to achieve is to wrap returned object into a generic APIResponse (another class) type which has an object Property called...
Read more >Web API Return Types in ASP.NET Core - Code Maze
In this article , we are going to learn various web API return types that we can use in an ASP.NET Core Web...
Read more >Controller action return types in ASP.NET Core web API
The most basic action returns a primitive or complex data type, for example, string or a custom object. Consider the following action, ...
Read more >Using the REST API with custom objects
Before working with custom objects with the REST API, you first must understand the structure of the custom objects assigned to an entity...
Read more >Is it possible to return a custom object from REST service?
I'd like to return a custom object instead of a Jazz modeled object. I've seen that the calling is expecting an EObject implementation....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @anencore94 . If this is still open I can pick this up.
This issue has been automatically closed because it has not had recent activity. Please comment “/reopen” to reopen it.