demo.py 469 B

1234567891011121314151617181920212223
  1. # -*- coding: utf-8 -*-
  2. # @Author: wangkun
  3. # @Time: 2022/11/15
  4. from main.feishu_lib import Feishu
  5. class Demo:
  6. @classmethod
  7. def get_sheet(cls, log_type, crawler, sheetid):
  8. sheet = Feishu.get_values_batch(log_type, crawler, sheetid)
  9. print(sheet)
  10. @classmethod
  11. def test_list(cls):
  12. a = [el for el in [None, None]]
  13. if __name__ == '__main__':
  14. # Demo.get_sheet('recommend', 'zhufumao', '9GV1HK')
  15. Demo.test_list()
  16. pass