aepp 0.4.3.post3__py3-none-any.whl → 0.5.0__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.
aepp/__version__.py CHANGED
@@ -1 +1 @@
1
- __version__ = "0.4.3-3"
1
+ __version__ = "0.5.0"
aepp/cli/__main__.py CHANGED
@@ -37,8 +37,6 @@ class ServiceShell(cmd.Cmd):
37
37
  if not config_path.is_absolute():
38
38
  config_path = Path.cwd() / config_path
39
39
  if config_path.exists() and kwargs.get("config_file") is not None:
40
- print("Loading configuration from file...")
41
- print(f"Config path: {config_path}")
42
40
  dict_config = json.load(FileIO(config_path))
43
41
  self.sandbox = kwargs.get("sandbox",dict_config.get("sandbox-name","prod"))
44
42
  self.secret = dict_config.get("secret",kwargs.get("secret"))
@@ -51,10 +49,9 @@ class ServiceShell(cmd.Cmd):
51
49
  self.org_id = kwargs.get("org_id")
52
50
  self.client_id = kwargs.get("client_id")
53
51
  self.scopes = kwargs.get("scopes")
54
- print(f"Debug: sandbox={self.sandbox}, secret={self.secret}, org_id={self.org_id}, client_id={self.client_id}, scopes={self.scopes}")
55
52
  self.connectInstance = True
56
53
  if self.sandbox is not None and self.secret is not None and self.org_id is not None and self.client_id is not None and self.scopes is not None:
57
- print("Auto-configuring connection...")
54
+ print("Configuring connection...")
58
55
  self.config = aepp.configure(
59
56
  connectInstance=self.connectInstance,
60
57
  sandbox=self.sandbox,
@@ -115,7 +112,7 @@ class ServiceShell(cmd.Cmd):
115
112
  if args.sandbox:
116
113
  self.config.setSandbox(args.sandbox)
117
114
  self.prompt = f"{self.config.sandbox}> "
118
- console.print(Panel(f"Sandbox changed to: {self.config.sandbox}", style="blue"))
115
+ console.print(Panel(f"Sandbox changed to: [bold green]{self.config.sandbox}[/bold green]", style="blue"))
119
116
  else:
120
117
  console.print(Panel("(!) You must configure the connection first using the 'config' command.", style="red"))
121
118
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aepp
3
- Version: 0.4.3.post3
3
+ Version: 0.5.0
4
4
  Summary: Package to manage AEP API endpoint and some helper functions
5
5
  Author-email: Julien Piccini <piccini.julien@gmail.com>
6
6
  License: Apache-2.0
@@ -1,5 +1,5 @@
1
1
  aepp/__init__.py,sha256=tKlipgknDl84iALUNgR9mktILF3gSk1GgMUw_Gg-HXE,27912
2
- aepp/__version__.py,sha256=lYwnz-hLrTYqjtFY-Bv6scJqo3PcuBsGf92TLHa2rzo,23
2
+ aepp/__version__.py,sha256=pVYhOkVS5PHJd_cIEx6PTaY6VggXFTC3pqWdf0I8zao,21
3
3
  aepp/accesscontrol.py,sha256=PB3FcrO4bvDjdNxjHx7p_20hp4ahBXewoOSxuTGMXC8,17423
4
4
  aepp/catalog.py,sha256=hK9m3SAP0fhgkYqu14Tcfq14qBhw54tLCOF0mH31b1M,68237
5
5
  aepp/classmanager.py,sha256=CTYGkg5ygB8HtRia6DfT9WLBqXJOVg7pSM9jBB25Bqw,64707
@@ -35,10 +35,10 @@ aepp/synchronizer.py,sha256=iG-E--HcxXFIW046Jzu4NAexcAoIAZOOWK4X_ra_9zg,77960
35
35
  aepp/tags.py,sha256=t2qBallTcWR4IOXcDBmrPpqjbSay1z3E2bcRijzVm1s,17641
36
36
  aepp/utils.py,sha256=tG-YVXylm38-bynqfp5N_Mzyo7mhlZj-dLo7wLoO4tM,1200
37
37
  aepp/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
38
- aepp/cli/__main__.py,sha256=0gFm4dwfLsVDTkN8cFMqtDqmaVoz7eG0BZ0avgCgzNI,65696
39
- aepp-0.4.3.post3.dist-info/licenses/LICENSE,sha256=HjYTlfne3BbS5gNHzNqJ5COCiTQLUdf87QkzRyFbE4Y,10337
40
- aepp-0.4.3.post3.dist-info/METADATA,sha256=AbYZNMOP6qL2aB2brlYBPBBXKAccC8UIuS58P_gUlA4,5317
41
- aepp-0.4.3.post3.dist-info/WHEEL,sha256=qELbo2s1Yzl39ZmrAibXA2jjPLUYfnVhUNTlyF1rq0Y,92
42
- aepp-0.4.3.post3.dist-info/entry_points.txt,sha256=e7HAumUTymoUiCuVRzFlcchennUBLcjxvuiimySF98Y,48
43
- aepp-0.4.3.post3.dist-info/top_level.txt,sha256=dtZJI8SzhWVgZRl68PHKZX_fD6amvDiFR-lqD9FSJvE,5
44
- aepp-0.4.3.post3.dist-info/RECORD,,
38
+ aepp/cli/__main__.py,sha256=Q2oKzrsnRR6P6b5vLsFD0uMum-TqLmdGQPOgHBTmPa8,65466
39
+ aepp-0.5.0.dist-info/licenses/LICENSE,sha256=HjYTlfne3BbS5gNHzNqJ5COCiTQLUdf87QkzRyFbE4Y,10337
40
+ aepp-0.5.0.dist-info/METADATA,sha256=WeLI5FDXrsm1aGVIqSItVHIIGC8i2iRyCFklFxhvQcs,5311
41
+ aepp-0.5.0.dist-info/WHEEL,sha256=qELbo2s1Yzl39ZmrAibXA2jjPLUYfnVhUNTlyF1rq0Y,92
42
+ aepp-0.5.0.dist-info/entry_points.txt,sha256=e7HAumUTymoUiCuVRzFlcchennUBLcjxvuiimySF98Y,48
43
+ aepp-0.5.0.dist-info/top_level.txt,sha256=dtZJI8SzhWVgZRl68PHKZX_fD6amvDiFR-lqD9FSJvE,5
44
+ aepp-0.5.0.dist-info/RECORD,,