<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def task_config(self, task: Task) -> Any:
        '''Return the task-specific configuration.'''

        return self.get(task.__class__.__name__)