question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 2 years ago
  • Reactions:3
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
midhun1998commented, Oct 10, 2021

Hi @anencore94 . If this is still open I can pick this up.

0reactions
stale[bot]commented, Apr 16, 2022

This issue has been automatically closed because it has not had recent activity. Please comment “/reopen” to reopen it.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found