Skip to content

8th October 2021

Coding

Python

Click

  • New: Invoke other commands from a command.

    This is a pattern that is generally discouraged with Click, but possible nonetheless. For this, you can use the Context.invoke() or Context.forward() methods.

Optimization

Pydantic

  • New: Copy produces copy that modifies the original.

    When copying a model, changing the value of an attribute on the copy updates the value of the attribute on the original. This only happens if deep != True. To fix it use: model.copy(deep=True).

Operative Systems

Linux

Kitty

  • New: Introduce kitty the terminal emulator.

    kitty is a fast, feature-rich, GPU based terminal emulator written in C and Python with nice features for the keyboard driven humans like me.