[pylint] Fix W0101 - Unreachable code.
Remove code.
[pylint] Fix W0102 - Dangerous default value.
Replace argrument "context={}" for "context=None" and add a line "context = context or {}"
Same for default argument.