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.
It would be cool to have a method
process_as_byteswhere input type is byted JSON.It removes a need to cast to json to transform for me as a customer and makes code cleaner for me.