- Updated the
__init__
methods inDialog
andParty
classes to accept additional keyword arguments (**kwargs
) for flexibility. - Simplified attribute assignment by using
locals()
to set non-None values. - Enhanced the
to_dict
method inDialog
to return all non-None attributes. - Improved readability and consistency in the code structure.
- Added docstrings for better documentation of methods and parameters.