mns-common 1.4.1.7__py3-none-any.whl → 1.4.1.9__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of mns-common might be problematic. Click here for more details.

@@ -44,3 +44,18 @@ class StrategyClassify(Enum):
44
44
  def __init__(self, strategy_code, strategy_name):
45
45
  self.strategy_name = strategy_name
46
46
  self.strategy_code = strategy_code
47
+
48
+
49
+ class StrategyTimePeriod(Enum):
50
+ # 第一阶段
51
+ FIRST_PERIOD = ('first_period', 'first_period')
52
+ # 第二阶段
53
+ SECOND_PERIOD = ('second_period', 'second_period')
54
+ # 第三阶段
55
+ THIRD_PERIOD = ('third_period', 'third_period')
56
+ # 集合竞价阶段
57
+ CALL_AUCTION_PERIOD = ('call_auction_period', 'call_auction_period')
58
+
59
+ def __init__(self, time_code, time_name):
60
+ self.time_name = time_name
61
+ self.time_code = time_code
@@ -1,4 +1,4 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mns-common
3
- Version: 1.4.1.7
3
+ Version: 1.4.1.9
4
4
 
@@ -140,7 +140,7 @@ mns_common/constant/extra_income_db_name.py,sha256=RRhn6pI2SOshXsA8DVIYDVLIhl2Le
140
140
  mns_common/constant/price_enum.py,sha256=nhcPxk0AFdQAp8IsNr5EP9xURLqqJuSl6ljIzTp7Wyo,1093
141
141
  mns_common/constant/redis_msg_constant.py,sha256=fMtI_WbJ2IkMX4qGwvR5MkMO0NqU8XgUUZqQzHIRscU,501
142
142
  mns_common/constant/self_choose_constant.py,sha256=Xnzp9cn5x5_UdqF4gozSDErkzafnbCYBjDH8YpTEU84,777
143
- mns_common/constant/strategy_classify.py,sha256=DLDLHpqVnoQ-v5nmz1H7DMz3ti8duS_1dwazE-eDnRo,1240
143
+ mns_common/constant/strategy_classify.py,sha256=4aLLAMtCggJ0FhsWdXR9iIkuSOKW_m2qKWGcpP6qHTQ,1720
144
144
  mns_common/db/MongodbUtil.py,sha256=g1KAY79S-2cfAP9l6OW4tqwtxNOzEsKT6_4XSgJ_GjE,11654
145
145
  mns_common/db/MongodbUtilLocal.py,sha256=c5bPSFAA92ZFTgXqe9gw8NE88PoDjg4yPd_J8T6iNBI,7508
146
146
  mns_common/db/__init__.py,sha256=2U9DiKslxsWwLLEcZKjS8UiQPN1QgALvnK3HiJNIZE0,163
@@ -154,7 +154,7 @@ mns_common/utils/date_handle_util.py,sha256=XS-MyA8_7k35LOCFAYOHgVcVkMft_Kc4Wa9U
154
154
  mns_common/utils/db_util.py,sha256=hSmfNAN4vEeEaUva6_cicZEhb2jSnib-Gvk2reke1vc,2590
155
155
  mns_common/utils/file_util.py,sha256=egWu6PenGPRp_ixrNTHKarT4dAnOT6FETR82EHUZJnQ,1042
156
156
  mns_common/utils/ip_util.py,sha256=UTcYfz_uytB__6nlBf7T-izuI7hi4XdB6ET0sJgEel4,969
157
- mns_common-1.4.1.7.dist-info/METADATA,sha256=A7kDYDWGMT2eb2yJD1kP9vNmry3r4oUJQNF-m4es1K4,61
158
- mns_common-1.4.1.7.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
159
- mns_common-1.4.1.7.dist-info/top_level.txt,sha256=ZC58kAR-8Hvc6U2xhYNBNLAh3mb6sZazbdj5nZpvEkQ,11
160
- mns_common-1.4.1.7.dist-info/RECORD,,
157
+ mns_common-1.4.1.9.dist-info/METADATA,sha256=zNhNvCyZuAov-lDHOmWVlioDQ38A8-Qd0t4MkXBX9dc,61
158
+ mns_common-1.4.1.9.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
159
+ mns_common-1.4.1.9.dist-info/top_level.txt,sha256=ZC58kAR-8Hvc6U2xhYNBNLAh3mb6sZazbdj5nZpvEkQ,11
160
+ mns_common-1.4.1.9.dist-info/RECORD,,