CLN: move resolvers getter to generic.py