mns-common 1.3.2.3__py3-none-any.whl → 1.3.2.4__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.

@@ -35,7 +35,7 @@ class MongodbUtilV2:
35
35
  client = pymongo.MongoClient("mongodb://127.0.0.1:" + port + "/" + db_name)
36
36
  else:
37
37
  client = pymongo.MongoClient("mongodb://127.0.0.1:" + port + "/" + db_name)
38
- return client.patience
38
+ return client[db_name]
39
39
 
40
40
  def group(self, query, coll_name):
41
41
  db = self.get_db()
@@ -1,4 +1,4 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mns_common
3
- Version: 1.3.2.3
3
+ Version: 1.3.2.4
4
4
 
@@ -125,7 +125,7 @@ mns_common/constant/self_choose_constant.py,sha256=Xnzp9cn5x5_UdqF4gozSDErkzafnb
125
125
  mns_common/db/MongodbUtil.py,sha256=zefStY9z67HqkvzmshsSV6kG4RgZSVe3fnIp8m0zWYU,11706
126
126
  mns_common/db/MongodbUtilLocal.py,sha256=xLUTeeZ83BbqPtUEwy7QmPtkSfwPyNB_5ggkn-eMpBQ,7560
127
127
  mns_common/db/__init__.py,sha256=2U9DiKslxsWwLLEcZKjS8UiQPN1QgALvnK3HiJNIZE0,163
128
- mns_common/db/v2/MongodbUtilV2.py,sha256=looRsWjz3_wrqnUE9reR7nxJHut_LV1Z9h1KIE5vJmc,11781
128
+ mns_common/db/v2/MongodbUtilV2.py,sha256=ChIUCV9vT-R8CY0uEwGULM5RInNA93UWSRohxFJG-tU,11781
129
129
  mns_common/db/v2/__init__.py,sha256=wEg73KlZo-dU0yKGwpA1C2y6LZm4IBb94tNda1tqLeg,163
130
130
  mns_common/utils/__init__.py,sha256=xu36nA6MJTauswUWPfKIKH0E-lpOAHTw2TL5QI_6TeY,165
131
131
  mns_common/utils/async_fun.py,sha256=YTxjAtCmOz38OHNC8L_5thjM_uFBmh3arx0eJwILi_A,352
@@ -135,7 +135,7 @@ mns_common/utils/date_handle_util.py,sha256=P4WJUmoDpo4IoCrt2z4keyr7pqXHKmCZBVod
135
135
  mns_common/utils/db_util.py,sha256=hSmfNAN4vEeEaUva6_cicZEhb2jSnib-Gvk2reke1vc,2590
136
136
  mns_common/utils/file_util.py,sha256=egWu6PenGPRp_ixrNTHKarT4dAnOT6FETR82EHUZJnQ,1042
137
137
  mns_common/utils/ip_util.py,sha256=UTcYfz_uytB__6nlBf7T-izuI7hi4XdB6ET0sJgEel4,969
138
- mns_common-1.3.2.3.dist-info/METADATA,sha256=n3cd8Wy0qFoZ9Bzo9PCai9lM5dl6I0fxvcOv9SPZrhs,61
139
- mns_common-1.3.2.3.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
140
- mns_common-1.3.2.3.dist-info/top_level.txt,sha256=ZC58kAR-8Hvc6U2xhYNBNLAh3mb6sZazbdj5nZpvEkQ,11
141
- mns_common-1.3.2.3.dist-info/RECORD,,
138
+ mns_common-1.3.2.4.dist-info/METADATA,sha256=iE7pPcvmZIWrfySQxNpwKKaKhfvFfJvhqKperR00p-0,61
139
+ mns_common-1.3.2.4.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
140
+ mns_common-1.3.2.4.dist-info/top_level.txt,sha256=ZC58kAR-8Hvc6U2xhYNBNLAh3mb6sZazbdj5nZpvEkQ,11
141
+ mns_common-1.3.2.4.dist-info/RECORD,,