e75f4c5ad9
Some of our consumers define additional members on the context class that they want included in to_dict and from_dict. While it is possible to do this today via overrides of those functions, the from_dict implementation in particular is a little non-obvious. This has led to bugs when the base class's to_dict behavior changes. This change moves the logic around extending the keys recognized by from_dict into from_dict itself and allows consumers to simply provide a list of those keys by overriding a class member. Change-Id: Ib143f8a5c129dbf6711800c4d87c8830a8aa3365 Related-Bug: 1721432 |
||
---|---|---|
.. | ||
tests | ||
__init__.py | ||
context.py | ||
fixture.py | ||
version.py |