Typing a Callable with available attributes

Hi Numba Developers. I posted this on gitter as well, but no one seemed to know so I thought I would repost here for greater visibility.

Are there any examples of an overload or other typing mechanism that must must be available as both a callable and has attributes that can be accessed? I’m looking at APIs where Python uses can do both obj.foo() and obj.foo.bar() .

Thanks for you time.