<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def init_app(self, app=None):
 """Initialize application configuration"""

        config = getattr(app, 'config', app)

        self.team_id = config.get('TEAM_ID')