Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- requests :: PythonGenerator
- requestsWith :: CommonGeneratorOptions -> [PythonRequest] -> Text
- requestsWithDef :: PythonRequest -> Text
- defPyImports :: Text
- generatePyRequestWith :: CommonGeneratorOptions -> PythonRequest -> Text
- functionReturn :: ReturnStyle -> (Proxy Indent -> Text) -> Text
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
defPyImports :: Text Source #
generatePyRequestWith :: CommonGeneratorOptions -> PythonRequest -> Text Source #
python codegen with requests
functionReturn :: ReturnStyle -> (Proxy Indent -> Text) -> Text Source #