Config Edit changes #8 (#11)

* Issues #8 Config Edit changes

* Patch #8
This commit is contained in:
Seting-dev
2025-05-26 10:28:01 +03:00
committed by GitHub
parent 7e986834f6
commit 96c6e29c00
4 changed files with 39 additions and 6 deletions

View File

@@ -12,7 +12,7 @@ def data_pools(base_url, api_key): # output data pool info
if response.status_code == 200:
data_pools = response.json()
results_data_pools_info = data_pools['results']
os.system('cls' if os.name == 'nt' else 'clear')
#os.system('cls' if os.name == 'nt' else 'clear')
console.rule("[bold cyan]Data Pools Overview")
console.print(f"[bold]Data pools total:[/] {data_pools['count']}\n")
panels = []
@@ -32,5 +32,4 @@ def data_pools(base_url, api_key): # output data pool info
console.print(*panels, sep="\n")
else:
console.print(f"[red]Failed to retrieve data {response.status_code}[/]")
Prompt.ask("[green_yellow bold]ENTER - return to Main Menu.. :right_arrow_curving_down:")
os.system('cls' if os.name == 'nt' else 'clear')
Prompt.ask("[green_yellow bold]ENTER - return to Main Menu.. :right_arrow_curving_down:")