(self, opts)
| 628 | |
| 629 | @with_connection |
| 630 | def put_data(self, opts): |
| 631 | if 'action_type' not in opts: |
| 632 | raise Exception('Provide action_type key.') |
| 633 | if 'event_data' not in opts: |
| 634 | raise Exception('Provide event_data key.') |
| 635 | action_type = opts.pop('action_type') |
| 636 | if action_type == 'send_export': |
| 637 | return self.__send_export(opts) |