Custom Types in Pydantic

Introduction to Pydantic and Custom Types in Pydantic

March 29, 2024 · 5 min · 933 words · Me

Segmentation Fault in Python

Not the usual Python bug 🐞.

November 15, 2023 · 4 min · 840 words · Me

Understanding Decorators in Python

In simple words, Decorators in Python Programming Language are used to add additional functionalities to functions or classes. Decorators allow programmers to wrap another function in order to extend the functionality of the wrapped function, without permanently modifying it. Function Based Considering the below function which basically just prints ‘Hello World’. def print_greeting(): print('Hello John') The above function’s behavior can be extended from just printing a one-line sentence to doing several things....

February 19, 2022 · 2 min · 364 words · Me