不忘初心 方得始终
2021年12月
2021年11月
2021年08月
2021年06月
2021年04月
2021年03月
2019年11月
2019年09月
2019年08月
2019年07月
2019年06月
你好,支持的, size传-1会试图拿所有:
https://aliyun-log-python-sdk.readthedocs.io/api.html#aliyun.log.LogClient.get_log
但数据量超大时,过于占用内存,推荐使用get_all_log,迭代方式效率更好;
https://github.com/aliyun/aliyun-log-python-sdk/blob/master/tests/sample.py#L96
API文档:
get_log: https://aliyun-log-python-sdk.readthedocs.io/api.html#aliyun.log.LogClient.get_log
get_all_log: https://aliyun-log-python-sdk.readthedocs.io/api.html#aliyun.log.LogClient.get_log_all
你运行时候是不是也是Import错误?