Brandon Woodford's Website

🏷 Python

  1. "Private" Methods in Python

    Hola, I’ve been using Python to create endpoints for an experience API on a current client project. I ran into a design issue where I needed to wrap the behavior of an existing method to control its dependent parameter state. After having some internal discussions, I decided to implement a private and public version of the method. I thought this would be an easy task… Unfortunately, I encountered an issue during unit testing.