Skip to content

API: new kwarg for return raw response #3524

@bsipocz

Description

@bsipocz

Historically we had duplicated method names with "async" that would return the response rather than a parsed astropy Table.

We agreed to clear this behaviour up (e.g. #2598), but it also came up that having an easier access to the raw response can be useful (e.g. see the discussion in #3359).

So this is a formal issue to make the latter happen, we should add a return_raw_response or similarly named kwarg to the API rather than duplicating methods.

Let's brainstorm the kwarg first and then I recommend doing the API changes incrementally by adding the kwarg and in the same time removing the usage of the duplicating decorator.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions