yeref 0.24.50__tar.gz → 0.24.51__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: yeref
3
- Version: 0.24.50
3
+ Version: 0.24.51
4
4
  Summary: desc-f
5
5
  Author: john smith
6
6
  Dynamic: author
@@ -2,7 +2,7 @@ from setuptools import setup
2
2
 
3
3
  setup(
4
4
  name='yeref',
5
- version='0.24.50',
5
+ version='0.24.51',
6
6
  description='desc-f',
7
7
  author='john smith',
8
8
  packages=['yeref'],
@@ -16174,19 +16174,19 @@ async def return_unit_metrics(bot, PROJECT_USERNAME, EXTRA_D, BASE_P):
16174
16174
  user_dau_dates.add(tx_date)
16175
16175
 
16176
16176
  # платеж
16177
- if user_mau and random.random() < 0.5:
16177
+ if user_mau:
16178
16178
  pay_month = random.choice(user_mau)
16179
16179
  pay_day = random.randint(1, 28)
16180
16180
  pay_date = f"{pay_month}-{pay_day:02}"
16181
16181
  dt_pay = datetime.strptime(pay_date, "%Y-%m-%d")
16182
- if dt_pay >= entry_dt_obj:
16183
- payments = [{
16184
- "TYPE": random.choice(["don", "sub", "pst"]),
16185
- "DT_START": f"{dt_pay.strftime('%d-%m-%Y')}_14-00-00",
16186
- "DT_END": "0",
16187
- "AMOUNT": str(random.randint(1, 10))
16188
- }]
16189
- user_dau_dates.add(pay_date)
16182
+ # if dt_pay >= entry_dt_obj:
16183
+ payments = [{
16184
+ "TYPE": random.choice(["don", "sub", "pst"]),
16185
+ "DT_START": f"{dt_pay.strftime('%d-%m-%Y')}_14-00-00",
16186
+ "DT_END": "0",
16187
+ "AMOUNT": str(random.randint(1, 10))
16188
+ }]
16189
+ user_dau_dates.add(pay_date)
16190
16190
 
16191
16191
  # вход в приложение
16192
16192
  user_dau_dates.add(entry_date)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: yeref
3
- Version: 0.24.50
3
+ Version: 0.24.51
4
4
  Summary: desc-f
5
5
  Author: john smith
6
6
  Dynamic: author
File without changes
File without changes
File without changes
File without changes
File without changes