[TSD] Add annotation for certificates.auto_certificate_generation

Description

Add annotation for certificates.auto_certificate_generation and refactor.

Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Unassigned

Reporter

Open Source Pull Request Bot

Labels

Contributor Name

Sofiane Bebert

Repo

edx/edx-platform

Github Lines Added

53

Github Lines Deleted

67