[389-devel] Simplifying python code with python-attrs