def __getattr__(self, name):
        """
        If the action is one available on the parent APIObject, generate a
        partial with the ID variable set to have the value passed during
        initialization.
        """
        action = getattr(self._api_object, name)
        return partial(action, **{self._id_variable: self._id_key})
def __getattr__ ( self , name ) : action = getattr ( self . _api_object , name ) return partial ( action , ** { self . _id_variable : self . _id_key } )
If the action is one available on the parent APIObject, generate a
        partial with the ID variable set to have the value passed during
        initialization.