<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def query_framebuffer(self, screen_id):
 """Queries the graphics updates targets for a screen. in screen_id of type int return framebuffer of type :class:`IFramebuffer` """

        if not isinstance(screen_id, baseinteger):
            raise TypeError("screen_id can only be an instance of type baseinteger")
        framebuffer = self._call("queryFramebuffer",
                     in_p=[screen_id])
        framebuffer = IFramebuffer(framebuffer)
        return framebuffer