PaiGram/core/services/devices/services.py