From 4cf37185cda3f2ca66b8e698cd8a54361b471d2e Mon Sep 17 00:00:00 2001 From: mxwj Date: Fri, 8 Nov 2024 16:08:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86=E8=B4=A2=E6=8A=A5?= =?UTF-8?q?=E5=B9=B4=E4=BB=BD=E6=9F=A5=E8=AF=A2=E7=9A=84=E6=9E=9A=E4=B8=BE?= =?UTF-8?q?=E7=B1=BB=E7=B1=BB=E5=9E=8B=E8=AE=BE=E7=BD=AE=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../__pycache__/router.cpython-310.pyc | Bin 1038 -> 1038 bytes src/financial_reports/mappings.py | 7 ++----- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/backtest/__pycache__/router.cpython-310.pyc b/src/backtest/__pycache__/router.cpython-310.pyc index bbbd0fe747fd1e4efddec5d688e23e772bfb0d2d..308aae04bdacc04ffe3f43732d33cd98d0f833a5 100644 GIT binary patch delta 27 hcmeC<=;Pqd=jG*M0D|XxbT@KaFfqDrc40cj2mn?G2Aco? delta 27 hcmeC<=;Pqd=jG*M0D=P*3LCjCm>5$xyD*(%1OQN#215V< diff --git a/src/financial_reports/mappings.py b/src/financial_reports/mappings.py index 89ee695..fe41467 100644 --- a/src/financial_reports/mappings.py +++ b/src/financial_reports/mappings.py @@ -2,12 +2,9 @@ 映射表, 为空则返回none表示不筛选此字段 """ -# 时间选择映射表 +# 时间选择映射表,用于枚举验证 year_mapping = { - """ - 为空则返回none - """ - "2024": 2024, + 2024: 2024, } # 股票池映射表