Upload Enrollment Data.  Uses PUT to /enrollments/<enrollment_id> interface.

        :Args:
            * *enrollment_id*: (str) Enrollment's ID
            * *audio_file*: (str) Path to the audio file of the recorded words. Not required for phone enrollments.

def enrollment_upload(
        self,
        enrollment_id,
        audio_file,
    ):
        """
        Upload Enrollment Data.  Uses PUT to /enrollments/<enrollment_id> interface.

        :Args:
            * *enrollment_id*: (str) Enrollment's ID
            * *audio_file*: (str) Path to the audio file of the recorded words. Not required for phone enrollments.

        """
        files = {
            "file": os.path.basename(audio_file),
            os.path.basename(audio_file): open(audio_file, 'rb')
        }

        response = self._put(url.enrollments_id.format(id=enrollment_id), files=files)
        self._check_response(response, 202)