This is DoAttend-specific code, yet it's outside the `if` block in `_fetch_data` where you're checking for DoAttend. Put all service-specific code in one place.