Skip to content

Missing method process_as_bytes #96

Description

@ChameleonTartu

It would be cool to have a method process_as_bytes where input type is byted JSON.

import requests
from kaiba.process import process_as_bytes

config = {
...
}

resp = requests.get('https://example.com')
process_as_bytes(resp.content, config)

It removes a need to cast to json to transform for me as a customer and makes code cleaner for me.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions