Deepgrow python-client "object has no attribute session"

Hi, I successfully used the python-client for segmentation. However, deepgrow is returning an error in the “
I tried it with(out) a session_id and it gives me the same error. With(out) session_id for segmentation works fine.
Line 66 works, line 73 returns an error - in both situations where session_id is a valid session or when session_id = None

The error in both cases is:

what is the definition of the function segmentation and deepgrow here.

I think seeing from your code these are different than:

As the function definition there is “def segmentation(self, model, image_in, image_out, session_id=None):”
so the model should be in the first argument when calling?