Across the SDK in different places, the use of typing callable is wrong if it was meant to use Callable. For example, here predictor_cls signature is defined as callable[string, sagemaker.session.Session] and was used like this. If normal Callable was meant (which should be unless specified otherwise) then the last type is the returnType so it should be corrected as something like Callable[[string, sagemaker.session.Session], Any].