snapctl 0.46.0__tar.gz → 0.46.2__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.

Potentially problematic release.


This version of snapctl might be problematic. Click here for more details.

Files changed (26) hide show
  1. {snapctl-0.46.0 → snapctl-0.46.2}/PKG-INFO +1 -1
  2. {snapctl-0.46.0 → snapctl-0.46.2}/pyproject.toml +1 -1
  3. {snapctl-0.46.0 → snapctl-0.46.2}/snapctl/commands/byosnap.py +4 -8
  4. {snapctl-0.46.0 → snapctl-0.46.2}/snapctl/config/constants.py +1 -1
  5. {snapctl-0.46.0 → snapctl-0.46.2}/LICENSE +0 -0
  6. {snapctl-0.46.0 → snapctl-0.46.2}/README.md +0 -0
  7. {snapctl-0.46.0 → snapctl-0.46.2}/snapctl/__init__.py +0 -0
  8. {snapctl-0.46.0 → snapctl-0.46.2}/snapctl/__main__.py +0 -0
  9. {snapctl-0.46.0 → snapctl-0.46.2}/snapctl/commands/__init__.py +0 -0
  10. {snapctl-0.46.0 → snapctl-0.46.2}/snapctl/commands/byogs.py +0 -0
  11. {snapctl-0.46.0 → snapctl-0.46.2}/snapctl/commands/game.py +0 -0
  12. {snapctl-0.46.0 → snapctl-0.46.2}/snapctl/commands/generate.py +0 -0
  13. {snapctl-0.46.0 → snapctl-0.46.2}/snapctl/commands/release_notes.py +0 -0
  14. {snapctl-0.46.0 → snapctl-0.46.2}/snapctl/commands/snapend.py +0 -0
  15. {snapctl-0.46.0 → snapctl-0.46.2}/snapctl/config/__init__.py +0 -0
  16. {snapctl-0.46.0 → snapctl-0.46.2}/snapctl/config/endpoints.py +0 -0
  17. {snapctl-0.46.0 → snapctl-0.46.2}/snapctl/config/hashes.py +0 -0
  18. {snapctl-0.46.0 → snapctl-0.46.2}/snapctl/data/profiles/snapser-byosnap-profile.json +0 -0
  19. {snapctl-0.46.0 → snapctl-0.46.2}/snapctl/data/profiles/snapser-byosnap-profile.yaml +0 -0
  20. {snapctl-0.46.0 → snapctl-0.46.2}/snapctl/data/releases/beta-0.46.0.mdx +0 -0
  21. {snapctl-0.46.0 → snapctl-0.46.2}/snapctl/main.py +0 -0
  22. {snapctl-0.46.0 → snapctl-0.46.2}/snapctl/types/__init__.py +0 -0
  23. {snapctl-0.46.0 → snapctl-0.46.2}/snapctl/types/definitions.py +0 -0
  24. {snapctl-0.46.0 → snapctl-0.46.2}/snapctl/utils/__init__.py +0 -0
  25. {snapctl-0.46.0 → snapctl-0.46.2}/snapctl/utils/echo.py +0 -0
  26. {snapctl-0.46.0 → snapctl-0.46.2}/snapctl/utils/helper.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: snapctl
3
- Version: 0.46.0
3
+ Version: 0.46.2
4
4
  Summary: Snapser CLI Tool
5
5
  Author: Ajinkya Apte
6
6
  Author-email: aj@snapser.com
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "snapctl"
3
- version = "0.46.0"
3
+ version = "0.46.2"
4
4
  description = "Snapser CLI Tool"
5
5
  authors = ["Ajinkya Apte <aj@snapser.com>"]
6
6
  readme = "README.md"
@@ -445,16 +445,14 @@ class ByoSnap:
445
445
  snapctl_error(
446
446
  message='Invalid env_params value in BYOSnap profile. env_params key ' +
447
447
  'should not be empty. ' +
448
- f"Check the key entry at {
449
- profile}.env_params #{env_index}.",
448
+ f"Check the key entry at {profile}.env_params #{env_index}.",
450
449
  code=SNAPCTL_INPUT_ERROR
451
450
  )
452
451
  if env_param['value'] is None or env_param['value'].strip() == '':
453
452
  snapctl_error(
454
453
  message='Invalid env_params value in BYOSnap profile. env_params value ' +
455
454
  'should not be empty. ' +
456
- f"Check the value entry at {
457
- profile}.env_params #{env_index}.",
455
+ f"Check the value entry at {profile}.env_params #{env_index}.",
458
456
  code=SNAPCTL_INPUT_ERROR
459
457
  )
460
458
  return profile_data
@@ -1525,14 +1523,12 @@ class ByoSnap:
1525
1523
  file_save_path = os.path.join(
1526
1524
  os.getcwd(), self.profile_filename)
1527
1525
  file_written = ByoSnap._handle_output_file(
1528
- f"{ByoSnap.PROFILE_FILES_PATH}{
1529
- self.profile_filename}", file_save_path
1526
+ f"{ByoSnap.PROFILE_FILES_PATH}{self.profile_filename}", file_save_path
1530
1527
  )
1531
1528
  if file_written:
1532
1529
  snapctl_success(
1533
1530
  message="BYOSNAP Profile generation successful. " +
1534
- f"{self.profile_filename} saved at {
1535
- file_save_path}",
1531
+ f"{self.profile_filename} saved at {file_save_path}",
1536
1532
  progress=progress,
1537
1533
  no_exit=no_exit
1538
1534
  )
@@ -3,7 +3,7 @@ Constants used by snapctl
3
3
  """
4
4
  COMPANY_NAME = 'Snapser'
5
5
  VERSION_PREFIX = 'beta-'
6
- VERSION = '0.46.0'
6
+ VERSION = '0.46.2'
7
7
  CONFIG_FILE_MAC = '~/.snapser/config'
8
8
  CONFIG_FILE_WIN = '%homepath%\\.snapser\\config'
9
9
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes