Skip to content

Misleading documentation for transformer accept parameter #994

Closed

Description

@vanoudh

accept (str): The content type accepted by the endpoint deployed

Current documentation:

accept (str) – The content type accepted by the endpoint deployed during the transform job.

This is misleading, the accept header is passed in the request, to ask for a particular response format. Proposed documentation:

accept(str) - The accept header passed by the client to the inference endpoint. If it is supported by the endpoint it will be the format of the batch transform output.

Activity

  1. laurenyu commented on Sep 3, 2019

    @laurenyu
    Contributor

    @vanoudh thanks for the suggestion! I've opened a PR to address this: #1017

  2. added
    status: pending release
    on Sep 3, 2019
  3. laurenyu commented on Sep 4, 2019

    @laurenyu
    Contributor

    released as part of v1.38.6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: pending releasetype: documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions