From fd8af3840c200ca300510a83666410d183400bbd Mon Sep 17 00:00:00 2001 From: yezi Date: Wed, 6 Mar 2024 06:10:12 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=B7=A5=E4=BD=9C=E6=B5=81=E6=9B=B4?= =?UTF-8?q?=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jobs/__init__.py | 14 +++++++------- ...nking_records.py => article_earning_ranking.py} | 0 ...assets_ranking_records.py => assets_ranking.py} | 0 ..._ranking_records.py => daily_update_ranking.py} | 0 ...u_lottery_win_records.py => jianshu_lottery.py} | 0 ..._jpep_ftn_trade_orders.py => jpep_ftn_trade.py} | 0 ...ticle_records.py => lp_recommended_articles.py} | 0 7 files changed, 7 insertions(+), 7 deletions(-) rename jobs/{fetch_article_earning_ranking_records.py => article_earning_ranking.py} (100%) rename jobs/{fetch_assets_ranking_records.py => assets_ranking.py} (100%) rename jobs/{fetch_daily_update_ranking_records.py => daily_update_ranking.py} (100%) rename jobs/{fetch_jianshu_lottery_win_records.py => jianshu_lottery.py} (100%) rename jobs/{fetch_jpep_ftn_trade_orders.py => jpep_ftn_trade.py} (100%) rename jobs/{fetch_lp_recommended_article_records.py => lp_recommended_articles.py} (100%) diff --git a/jobs/__init__.py b/jobs/__init__.py index 4e2e2ce..2f0a65f 100644 --- a/jobs/__init__.py +++ b/jobs/__init__.py @@ -14,13 +14,13 @@ def import_deployment(path: str) -> DeploymentType: DEPLOYMENT_PATHS: Set[str] = { - "jobs.fetch_article_earning_ranking_records:deployment", - "jobs.fetch_assets_ranking_records:deployment", - "jobs.fetch_daily_update_ranking_records:deployment", - "jobs.fetch_jianshu_lottery_win_records:deployment", - "jobs.fetch_jpep_ftn_trade_orders:buy_deployment", - "jobs.fetch_jpep_ftn_trade_orders:sell_deployment", - "jobs.fetch_lp_recommended_article_records:deployment", + "jobs.article_earning_ranking:deployment", + "jobs.assets_ranking:deployment", + "jobs.daily_update_ranking:deployment", + "jobs.jianshu_lottery:deployment", + "jobs.jpep_ftn_trade:buy_deployment", + "jobs.jpep_ftn_trade:sell_deployment", + "jobs.lp_recommended_articles:deployment", } diff --git a/jobs/fetch_article_earning_ranking_records.py b/jobs/article_earning_ranking.py similarity index 100% rename from jobs/fetch_article_earning_ranking_records.py rename to jobs/article_earning_ranking.py diff --git a/jobs/fetch_assets_ranking_records.py b/jobs/assets_ranking.py similarity index 100% rename from jobs/fetch_assets_ranking_records.py rename to jobs/assets_ranking.py diff --git a/jobs/fetch_daily_update_ranking_records.py b/jobs/daily_update_ranking.py similarity index 100% rename from jobs/fetch_daily_update_ranking_records.py rename to jobs/daily_update_ranking.py diff --git a/jobs/fetch_jianshu_lottery_win_records.py b/jobs/jianshu_lottery.py similarity index 100% rename from jobs/fetch_jianshu_lottery_win_records.py rename to jobs/jianshu_lottery.py diff --git a/jobs/fetch_jpep_ftn_trade_orders.py b/jobs/jpep_ftn_trade.py similarity index 100% rename from jobs/fetch_jpep_ftn_trade_orders.py rename to jobs/jpep_ftn_trade.py diff --git a/jobs/fetch_lp_recommended_article_records.py b/jobs/lp_recommended_articles.py similarity index 100% rename from jobs/fetch_lp_recommended_article_records.py rename to jobs/lp_recommended_articles.py