Boost Engineering Agility with Mock Servers
Eliminate network dependencies until the last responsible moment

Search for a command to run...
Eliminate network dependencies until the last responsible moment

An API should operate as intended. This requires both an expressed intent and verification that, indeed, the API fulfills this intent.

Background When I worked for Arity (an Allstate startup), Allstate had contracted with Pivotal Labs to facilitate its agile transformation. Pivotal's model was one of enablement - they would augment a cross-functional product team with their own cros...

Setting up JSON logging for a production Django app requires the following steps: Configure JSON logging from the Django app Configure JSON logging from the application server (for example, uWSGI) In the last article I covered how to configure JSON...

What is observability? Improving an application's observability can be one of the most empowering endeavors as an engineer. Imagine tiptoeing across a messy child's room in the middle of the night with the goal of not stepping on a Lego. Now imagine ...

In the last article I covered how to Host API Docs in Django. To recap, this included the following: Creating an OpenAPI spec Generating API docs with the redoc-cli Exposing docs in Django at a path of our choice Requiring authentication to acces...

Generate API docs from an OpenAPI spec and host them in Django

Recently been doing a fair bit of work in GitHub Actions, our chosen tool for CI at Patient Pattern. I've written a few event-based workflows, reusable workflows, manually-triggered workflows, and docker container actions. The next step I'd like to t...

When working on a new codebase, a learning curve is inevitable. However, steepness greatly varies. Here are two dead-simple ways to write discoverable Python code that smoothens this curve. Type hint. Always. Let's consider the following example func...