Empty Space
  • Home
  • Resume
  • Posts
  • Personal
  • Code
Sign in Subscribe
personal

Alpaca or Llama

  • Robin Michael

Robin Michael

19 Dec 2024
Share

Sign up for more like this.

Enter your email
Subscribe

Serializing Dataclasses

As I am working with dataclass and wanting to return the values in a simplified serialized format that AWS Lambda and other brittle response wrappers can handle. Lambda is able to handle the base class of dict[str, str] as serializable, I wrote this helper method to perform recursive serialization.
30 Aug 2026 2 min read

Environment Settings, overload helper

I am working with environment variables because the current application I am building is a 12 factor application adherent and while messing with the .env files and or actual os/user environment variables it can get a bit confusing so I wrote this helper class to load the application variables
26 Aug 2026 1 min read

Immutable Data - Python

Object oriented programming is built around the encapsulation of state transitions to occur with in the data objects. For example in the below Tracker class I want to hold a variable that describes the current version of the object. @dataclasses.dataclass class Tracker: version: int = 0 def update_version(self)
23 Aug 2026 2 min read
Empty Space © 2026
Powered by Ghost