servant-py-0.1.1.1: Automatically derive python functions to query servant webservices.

Safe HaskellNone
LanguageHaskell2010

Servant.PY.Requests

Synopsis

Documentation

requests :: PythonGenerator Source #

Generate python functions that use the requests library. Uses defCommonGeneratorOptions for the generator options.

requestsWith :: CommonGeneratorOptions -> [PythonRequest] -> Text Source #

Generate python functions that use the requests library. Lets you specify your own CommonGeneratorOptions.

requestsWithDef :: PythonRequest -> Text Source #

python codegen using requests with default options