Skip to content

Commit

Permalink
删除不用的库
Browse files Browse the repository at this point in the history
  • Loading branch information
olixu committed Apr 13, 2024
1 parent ffadea4 commit c92998a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data_utils.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from datetime import datetime, timedelta
import akshare as ak
from cachetools import TTLCache, cached
# from cachetools import TTLCache, cached
# 设置缓存时间为2小时
cache = TTLCache(maxsize=None, ttl=7200) # maxsize=None 表示不限制缓存大小
# cache = TTLCache(maxsize=None, ttl=7200) # maxsize=None 表示不限制缓存大小

# 定义一个函数来计算开始日期
def calculate_start_date(end_date, num_days):
Expand Down

0 comments on commit c92998a

Please sign in to comment.