Rather than have three methods which have to have the same interface, factor out a separate interface which is provided by three implementations. I find it easier to grok the code this way. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| context_factory.py | ||
| event_signing.py | ||
| keyring.py | ||