Python API Documentation using flasgger

Swagger is a Specification for visualizing Restful Web Services. It represents the RESTFUL API and can be integrated with almost any programming lanugage. With OpenAPI’s specification, User can understand and consume services without knowledge of server… Read more

Similar

Be Careful with Python’s New-Style String Format

This should have been obvious to me for a longer time, but until earlier today I did not really realize the severity of the issues caused by str.format on untrusted user input. It came up as a way to bypass the Jinja2 Sandbox in a way that would permit r...

Read more »

Monkey-patching a Python instance method

Dynamically adding or overwriting an instance method in Python is rarely needed, but it's a good excuse to explore interesting aspects of the language that aren't always well known: the descriptor protocol, types.MethodType and partial function applicatio...

Read more »