<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_widget(self, request):
 """ Returns concrete widget that will be used for rendering table filter. """

        widget = self.widget
        if isinstance(widget, type):
            widget = widget()
        return widget