def add_activity(client, actuser, actto, acttype, actdict): uag = UserActivityGraph(client) return uag.add_activity(actuser, actto, acttype, actdict)