<s> from db . redis . user_activity_graph import UserActivityGraph <EOL> def add_activity ( client , actuser , actto , acttype , actdict ) : <EOL> uag = UserActivityGraph ( client ) <EOL> return uag . add_activity ( actuser , actto , acttype , actdict ) <EOL> def del_activity ( client , actuser , acttype , actto ) : <EOL> uag = UserActivityGraph ( client ) <EOL> return uag . del_activity ( actuser , acttype , actto ) </s>
