Direct dict object modification
Modifying `object.__dict__` directly or writing to an instance of a class `__dict__` attribute directly is not recommended. Inside every module is a `__dict__` attribute which contains its symbol table. If you modify `object.__dict__`, then the symbol table is changed. Also, direct assignment to the `__dict__` attribute is not possible.
def modify_dictionary_noncompliant():
    import os
    # Noncompliant: modifies the __dict__ object directly.
    os.__dict__ = value
def modify_dictionary_compliant(test_args):
    from nettles_service.models.baseline import Baseline

    baseline = Baseline(**test_args)
    for arg, value in test_args.items():
        # Compliant: avoids modifying the __dict__ object directly.
        assert baseline.__dict__[arg] == value