suite-py 1.41.4__py3-none-any.whl → 1.41.5__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.
suite_py/__version__.py CHANGED
@@ -1,2 +1,2 @@
1
1
  # -*- encoding: utf-8 -*-
2
- __version__ = "1.41.4"
2
+ __version__ = "1.41.5"
suite_py/cli.py CHANGED
@@ -163,7 +163,7 @@ def main(ctx, project, timeout, verbose):
163
163
  project = os.path.basename(project)
164
164
  tokens = Tokens()
165
165
  okta = Okta(config, tokens)
166
- captainhook = CaptainHook(config, okta)
166
+ captainhook = CaptainHook(config, okta, tokens)
167
167
 
168
168
  ctx.obj = Context(
169
169
  project=project,
@@ -226,7 +226,7 @@ def cli_create_branch(obj, card):
226
226
  def cli_lock_project(obj, environment):
227
227
  from suite_py.commands.project_lock import ProjectLock
228
228
 
229
- obj.call(ProjectLock, environment=environment, action="lock").run()
229
+ obj.call(ProjectLock, env=environment, action="lock").run()
230
230
 
231
231
 
232
232
  @main.command("unlock", help="Unlock project on staging or prod")
@@ -238,7 +238,7 @@ def cli_lock_project(obj, environment):
238
238
  def cli_unlock_project(obj, environment):
239
239
  from suite_py.commands.project_lock import ProjectLock
240
240
 
241
- obj.call(ProjectLock, environment=environment, action="unlock").run()
241
+ obj.call(ProjectLock, env=environment, action="unlock").run()
242
242
 
243
243
 
244
244
  @main.command("open-pr", help="Open a PR on GitHub")
@@ -13,6 +13,7 @@ class UnauthorizedError(Exception):
13
13
 
14
14
  class CaptainHook:
15
15
  _okta: Okta
16
+ _github: GithubHandler
16
17
 
17
18
  def __init__(self, config, okta: Okta, tokens=None):
18
19
  self._baseurl = config.user["captainhook_url"]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: suite-py
3
- Version: 1.41.4
3
+ Version: 1.41.5
4
4
  Summary:
5
5
  Author: larrywax, EugenioLaghi, michelangelomo
6
6
  Author-email: devops@prima.it
@@ -1,6 +1,6 @@
1
1
  suite_py/__init__.py,sha256=REmi3D0X2G1ZWnYpKs8Ffm3NIj-Hw6dMuvz2b9NW344,142
2
- suite_py/__version__.py,sha256=AhkyH0YLIU7gH3Em5wzBcxR3qqCht93E136t28Bl6Yk,49
3
- suite_py/cli.py,sha256=LDv8ppD4Sua-TKeNnAtdUvkQ9qql6kMzOqGueyIepYw,14961
2
+ suite_py/__version__.py,sha256=_n_EAZVSfeYAG6Un5ksmgHsMYicx6e8oFtLYMdsWLts,49
3
+ suite_py/cli.py,sha256=I4IbkCRCprI73-pjllFzDX8UY3lVUNOIbZAPRgK2ukw,14953
4
4
  suite_py/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
5
  suite_py/commands/aggregator.py,sha256=_xyyX7MOMZzDEvzj2AI03OF3sut5PpSIyuRjUiCp5aI,5747
6
6
  suite_py/commands/ask_review.py,sha256=yN__Ac-fiZBPShjRDhyCCQZGfVlQE16KozoJk4UtiNw,3788
@@ -27,7 +27,7 @@ suite_py/lib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
27
27
  suite_py/lib/config.py,sha256=4uKXAav8E-VXlXGPnkYQ_fZYyi6058S0FM2JmyV8L2k,3970
28
28
  suite_py/lib/handler/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
29
29
  suite_py/lib/handler/aws_handler.py,sha256=dRvRDicikfRbuFtCLPbevaX-yC-fO4LwXFdyqLPJ8OI,8815
30
- suite_py/lib/handler/captainhook_handler.py,sha256=vS-RNhUgQ7FriCdBDEd2Ci04B5FJ0p7gi5woCaoEeY8,3254
30
+ suite_py/lib/handler/captainhook_handler.py,sha256=xZ9NueGfh14L46S8AWSCZAGJdOFUCa2cFbbguq5SVv8,3281
31
31
  suite_py/lib/handler/changelog_handler.py,sha256=-ppnRl3smBA_ys8tPqXmytS4eyntlwfawC2fiXFcwlw,4818
32
32
  suite_py/lib/handler/drone_handler.py,sha256=rmtzu30OQyG3vRPlbZKsQhHN9zbguPtXO0RpDjYOTPA,8967
33
33
  suite_py/lib/handler/frequent_reviewers_handler.py,sha256=EIJX5FEMWzrxuXS9A17hu1vfxgJSOHSBX_ahCEZ2FVA,2185
@@ -48,7 +48,7 @@ suite_py/lib/requests/session.py,sha256=P32H3cWnCWunu91WIj2iDM5U3HzaBglg60VN_C9J
48
48
  suite_py/lib/symbol.py,sha256=z3QYBuNIwD3qQ3zF-cLOomIr_-C3bO_u5UIDAHMiyTo,60
49
49
  suite_py/lib/tokens.py,sha256=kK4vatd5iKEFaue0BZwK1f66YOh9zLdLzP41ZOhjMCU,5534
50
50
  suite_py/templates/login.html,sha256=fJLls2SB84oZTSrxTdA5q1PqfvIHcCD4fhVWfyco7Ig,861
51
- suite_py-1.41.4.dist-info/METADATA,sha256=1DDdO0XjzywlKTQtz0oevgk8Ds0j6XsoR4iF69ccXrw,1531
52
- suite_py-1.41.4.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
53
- suite_py-1.41.4.dist-info/entry_points.txt,sha256=dVKLC-9Infy-dHJT_MkK6LcDjOgBCJ8lfPkURJhBjxE,46
54
- suite_py-1.41.4.dist-info/RECORD,,
51
+ suite_py-1.41.5.dist-info/METADATA,sha256=6wXinzivnOCIO246fhb5p4LV592QPKJYA2sZu7SrtWw,1531
52
+ suite_py-1.41.5.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
53
+ suite_py-1.41.5.dist-info/entry_points.txt,sha256=dVKLC-9Infy-dHJT_MkK6LcDjOgBCJ8lfPkURJhBjxE,46
54
+ suite_py-1.41.5.dist-info/RECORD,,