mcm-cli 0.47__py3-none-any.whl → 0.471__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mcm-cli
3
- Version: 0.47
3
+ Version: 0.471
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,8 +1,8 @@
1
1
  mcmcli/__init__.py,sha256=-U6lMZ9_99IXAKwnqnYXYr6NcO6TSmG-kxewgvJjU4k,575
2
- mcmcli/__main__.py,sha256=5pnw_eUdsX1vMa1zaSqYC7VnQG0QDFppq6z89YpkijI,1356
2
+ mcmcli/__main__.py,sha256=XCMJhGalbQkBsQrBBEcI_CN-3uPuMLdWYT6I8ROyITM,1357
3
3
  mcmcli/logging.py,sha256=xjRS5ey1ONx_d34qB1Fetb_SwPysoh2hzNDuNAaYYWQ,1739
4
4
  mcmcli/requests.py,sha256=50N_LiWIWr8-3EPs_yR9f4uEQf8rQ68s_FoMYRhgjzI,2343
5
- mcmcli/command/account.py,sha256=U5kF3UYdTRfKu3RLLY5Nb519s9rEuOiRdLTi5hTtDy4,14672
5
+ mcmcli/command/account.py,sha256=EtcYZsC5LL5ue-hKsZZl3_0oZ09nJdVi774yqiTykl8,14712
6
6
  mcmcli/command/auth.py,sha256=QLdr_XFW5BVw9r4a7Kjj5BTBXpSux3AWI9eI03S8aiA,2480
7
7
  mcmcli/command/config.py,sha256=sdzge-l_Yi2P_TlTgSLqShcGyPCzpW3QJzctpIvc-g4,4195
8
8
  mcmcli/command/wallet.py,sha256=TB3WrmniREsDk0ui20p3ha6OZMwA2wAJaxQ9QDGtKnA,8968
@@ -12,10 +12,10 @@ mcmcli/data/error.py,sha256=d6xa_jTXumlA0EzXy2PJQ86ajBb0Pm90fss9R3LuHUc,1094
12
12
  mcmcli/data/seller.py,sha256=40SA7QekM3a3svDrDYLo_QYJ68VUxDO0KeGejJMp4k4,1004
13
13
  mcmcli/data/token.py,sha256=11wtyLHCAZHu0LVbNDPa-yipcL6lenxoYIKEI58VzFs,1744
14
14
  mcmcli/data/wallet.py,sha256=W-CksF9SPqiv3jZg07Wy8ehVUP5Ot1Gbq2LEGNQCOC8,1906
15
- mcm_cli-0.47.dist-info/LICENSE,sha256=RFhQPdSOiMTguUX7JSoIuTxA7HVzCbj_p8WU36HjUQQ,10947
16
- mcm_cli-0.47.dist-info/METADATA,sha256=BDJI_fsakfAl54HLi7OteGj0n_wtKcotesYUPDK72rU,2944
17
- mcm_cli-0.47.dist-info/NOTICE,sha256=Ldnl2MjRaXPxcldUdbI2NTybq60XAa2LowRhFrRTuiI,76
18
- mcm_cli-0.47.dist-info/WHEEL,sha256=Wyh-_nZ0DJYolHNn1_hMa4lM7uDedD_RGVwbmTjyItk,91
19
- mcm_cli-0.47.dist-info/entry_points.txt,sha256=qTHAWZ-ejSiU4t11RYwtAU8ScqhQPDeMVTG9y4wMVLg,60
20
- mcm_cli-0.47.dist-info/top_level.txt,sha256=sh7oqIaqLQlMtKHlxHHgpV2xGMrBMPFWpSp0C6nvJ_Y,7
21
- mcm_cli-0.47.dist-info/RECORD,,
15
+ mcm_cli-0.471.dist-info/LICENSE,sha256=RFhQPdSOiMTguUX7JSoIuTxA7HVzCbj_p8WU36HjUQQ,10947
16
+ mcm_cli-0.471.dist-info/METADATA,sha256=vWG49igEdd1cL-zRp4QbUOVb02qpsEQUwQfhFdpTWfI,2945
17
+ mcm_cli-0.471.dist-info/NOTICE,sha256=Ldnl2MjRaXPxcldUdbI2NTybq60XAa2LowRhFrRTuiI,76
18
+ mcm_cli-0.471.dist-info/WHEEL,sha256=Wyh-_nZ0DJYolHNn1_hMa4lM7uDedD_RGVwbmTjyItk,91
19
+ mcm_cli-0.471.dist-info/entry_points.txt,sha256=qTHAWZ-ejSiU4t11RYwtAU8ScqhQPDeMVTG9y4wMVLg,60
20
+ mcm_cli-0.471.dist-info/top_level.txt,sha256=sh7oqIaqLQlMtKHlxHHgpV2xGMrBMPFWpSp0C6nvJ_Y,7
21
+ mcm_cli-0.471.dist-info/RECORD,,
mcmcli/__main__.py CHANGED
@@ -31,7 +31,7 @@ def version():
31
31
  """
32
32
  Show the tool version
33
33
  """
34
- typer.echo(f"Version: mcm-cli v0.47")
34
+ typer.echo(f"Version: mcm-cli v0.471")
35
35
 
36
36
  app.add_typer(mcmcli.command.account.app, name="account", help="Ad account management")
37
37
  app.add_typer(mcmcli.command.auth.app, name="auth", help="Authentication management")
mcmcli/command/account.py CHANGED
@@ -76,9 +76,9 @@ def bulk_invite_ad_account_owners(
76
76
  success_count = 0
77
77
  account_creation_count = 0
78
78
  for row in csv_data:
79
- account_id = row[0]
80
- email_address = row[1]
81
- user_name = row[2]
79
+ account_id = row[0].strip()
80
+ email_address = row[1].strip()
81
+ user_name = row[2].strip()
82
82
  print('.', end='', file=sys.stderr, flush=True)
83
83
 
84
84
  # Check if the ad account exists
@@ -134,8 +134,8 @@ def bulk_check_user_registrations(
134
134
 
135
135
  print('"Ad Account ID","Is Ad Account Exist","User Email","Is User Exist","User Role","User Status"')
136
136
  for row in csv_data:
137
- account_id = row[0]
138
- email_address = row[1]
137
+ account_id = row[0].strip()
138
+ email_address = row[1].strip()
139
139
  account = _lookup_dict(account_id, account_dictionary)
140
140
  is_account_exist = "No Account Exists" if account is None else "Account Exists"
141
141