Skip to content

Docs for Serializer/Deserializer missing #1819

Closed

Description

@dz902

What did you find confusing? Please describe.

I could not find docs about how to use one in the docs. Also since setting content_type is not possible in v2, we will have to use Serializers but there are no docs.

Describe how documentation can be improved

Add them.

Additional context
Add any other context or screenshots about the documentation request here.

Activity

  1. dz902 commented on Aug 8, 2020

    @dz902
    Author

    For those who encounter a situation where only content_type setting is needed, do the following:

    from sagemaker.serializers import IdentitySerializer
    
    ...
    
        PREDICTOR = Predictor(
            endpoint_name = ENDPOINT_NAME,
            serializer = IdentitySerializer(content_type = 'application/x-image')
        )
    
  2. bveeramani commented on Aug 12, 2020

    @bveeramani
    Contributor

    Fixed by #1824.

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions