mcm-cli 1.7.3__tar.gz → 1.7.4__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.
Files changed (38) hide show
  1. {mcm_cli-1.7.3/mcm_cli.egg-info → mcm_cli-1.7.4}/PKG-INFO +1 -1
  2. {mcm_cli-1.7.3 → mcm_cli-1.7.4/mcm_cli.egg-info}/PKG-INFO +1 -1
  3. {mcm_cli-1.7.3 → mcm_cli-1.7.4}/mcmcli/__main__.py +1 -1
  4. {mcm_cli-1.7.3 → mcm_cli-1.7.4}/mcmcli/command/wallet.py +10 -9
  5. {mcm_cli-1.7.3 → mcm_cli-1.7.4}/setup.py +1 -1
  6. {mcm_cli-1.7.3 → mcm_cli-1.7.4}/LICENSE +0 -0
  7. {mcm_cli-1.7.3 → mcm_cli-1.7.4}/NOTICE +0 -0
  8. {mcm_cli-1.7.3 → mcm_cli-1.7.4}/README.md +0 -0
  9. {mcm_cli-1.7.3 → mcm_cli-1.7.4}/mcm_cli.egg-info/SOURCES.txt +0 -0
  10. {mcm_cli-1.7.3 → mcm_cli-1.7.4}/mcm_cli.egg-info/dependency_links.txt +0 -0
  11. {mcm_cli-1.7.3 → mcm_cli-1.7.4}/mcm_cli.egg-info/entry_points.txt +0 -0
  12. {mcm_cli-1.7.3 → mcm_cli-1.7.4}/mcm_cli.egg-info/requires.txt +0 -0
  13. {mcm_cli-1.7.3 → mcm_cli-1.7.4}/mcm_cli.egg-info/top_level.txt +0 -0
  14. {mcm_cli-1.7.3 → mcm_cli-1.7.4}/mcmcli/__init__.py +0 -0
  15. {mcm_cli-1.7.3 → mcm_cli-1.7.4}/mcmcli/command/account.py +0 -0
  16. {mcm_cli-1.7.3 → mcm_cli-1.7.4}/mcmcli/command/admin.py +0 -0
  17. {mcm_cli-1.7.3 → mcm_cli-1.7.4}/mcmcli/command/auth.py +0 -0
  18. {mcm_cli-1.7.3 → mcm_cli-1.7.4}/mcmcli/command/campaign.py +0 -0
  19. {mcm_cli-1.7.3 → mcm_cli-1.7.4}/mcmcli/command/config.py +0 -0
  20. {mcm_cli-1.7.3 → mcm_cli-1.7.4}/mcmcli/command/decision.py +0 -0
  21. {mcm_cli-1.7.3 → mcm_cli-1.7.4}/mcmcli/command/report.py +0 -0
  22. {mcm_cli-1.7.3 → mcm_cli-1.7.4}/mcmcli/data/account.py +0 -0
  23. {mcm_cli-1.7.3 → mcm_cli-1.7.4}/mcmcli/data/account_user.py +0 -0
  24. {mcm_cli-1.7.3 → mcm_cli-1.7.4}/mcmcli/data/campaign.py +0 -0
  25. {mcm_cli-1.7.3 → mcm_cli-1.7.4}/mcmcli/data/decision.py +0 -0
  26. {mcm_cli-1.7.3 → mcm_cli-1.7.4}/mcmcli/data/error.py +0 -0
  27. {mcm_cli-1.7.3 → mcm_cli-1.7.4}/mcmcli/data/item.py +0 -0
  28. {mcm_cli-1.7.3 → mcm_cli-1.7.4}/mcmcli/data/item_blocking_result.py +0 -0
  29. {mcm_cli-1.7.3 → mcm_cli-1.7.4}/mcmcli/data/platform_user.py +0 -0
  30. {mcm_cli-1.7.3 → mcm_cli-1.7.4}/mcmcli/data/report.py +0 -0
  31. {mcm_cli-1.7.3 → mcm_cli-1.7.4}/mcmcli/data/seller.py +0 -0
  32. {mcm_cli-1.7.3 → mcm_cli-1.7.4}/mcmcli/data/token.py +0 -0
  33. {mcm_cli-1.7.3 → mcm_cli-1.7.4}/mcmcli/data/user_join_request.py +0 -0
  34. {mcm_cli-1.7.3 → mcm_cli-1.7.4}/mcmcli/data/wallet.py +0 -0
  35. {mcm_cli-1.7.3 → mcm_cli-1.7.4}/mcmcli/logging.py +0 -0
  36. {mcm_cli-1.7.3 → mcm_cli-1.7.4}/mcmcli/requests.py +0 -0
  37. {mcm_cli-1.7.3 → mcm_cli-1.7.4}/setup.cfg +0 -0
  38. {mcm_cli-1.7.3 → mcm_cli-1.7.4}/tests/test_config.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mcm-cli
3
- Version: 1.7.3
3
+ Version: 1.7.4
4
4
  Summary: A command-line interface for Moloco Commerde Media
5
5
  Home-page: https://github.com/moloco-mcm/mcm-cli
6
6
  Author: Moloco MCM Team
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mcm-cli
3
- Version: 1.7.3
3
+ Version: 1.7.4
4
4
  Summary: A command-line interface for Moloco Commerde Media
5
5
  Home-page: https://github.com/moloco-mcm/mcm-cli
6
6
  Author: Moloco MCM Team
@@ -37,7 +37,7 @@ def version():
37
37
  """
38
38
  Show the tool version
39
39
  """
40
- typer.echo(f"Version: mcm-cli v1.7.3")
40
+ typer.echo(f"Version: mcm-cli v1.7.4")
41
41
 
42
42
  app.add_typer(mcmcli.command.account.app, name="account", help="Ad account management")
43
43
  app.add_typer(mcmcli.command.admin.app, name="admin", help="Platform administration")
@@ -17,6 +17,7 @@ from enum import Enum
17
17
  from mcmcli.data.error import Error
18
18
  from mcmcli.data.wallet import Wallet, WalletsWrapper, PlatformWalletsWrapper
19
19
  from mcmcli.requests import CurlString, api_request
20
+ from typing import Optional
20
21
 
21
22
  UTC = timezone.utc
22
23
 
@@ -254,9 +255,9 @@ class WalletCommand:
254
255
  self,
255
256
  to_curl: bool,
256
257
  ) -> tuple[
257
- None | CurlString,
258
- None | Error,
259
- None | dict[str, WalletsWrapper]
258
+ Optional[CurlString],
259
+ Optional[Error],
260
+ Optional[dict[str, WalletsWrapper]]
260
261
  ]:
261
262
  _api_url = f"{self.api_base_url}/wallets-bulk/read"
262
263
 
@@ -275,9 +276,9 @@ class WalletCommand:
275
276
  account_id: str,
276
277
  to_curl: bool,
277
278
  ) -> tuple[
278
- None | CurlString,
279
- None | Error,
280
- None | Wallet,
279
+ Optional[CurlString],
280
+ Optional[Error],
281
+ Optional[Wallet],
281
282
  ]:
282
283
  _api_url = f"{self.api_base_url}/ad-accounts/{account_id}/wallets"
283
284
 
@@ -303,9 +304,9 @@ class WalletCommand:
303
304
  fund_amount: float,
304
305
  to_curl: bool,
305
306
  ) -> tuple[
306
- None | CurlString,
307
- None | Error,
308
- None | Wallet,
307
+ Optional[CurlString],
308
+ Optional[Error],
309
+ Optional[Wallet],
309
310
  ]:
310
311
  if fund_amount <= 0:
311
312
  return None, Error(code=0, message="The fund amount should be greater than zero."), None
@@ -18,7 +18,7 @@ from setuptools import setup, find_packages
18
18
 
19
19
  setup(
20
20
  name='mcm-cli',
21
- version='1.7.3',
21
+ version='1.7.4',
22
22
  description='A command-line interface for Moloco Commerde Media',
23
23
  long_description=open('README.md').read(),
24
24
  long_description_content_type='text/markdown',
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes