Edit: adapters.py