From 5f27dcd46d548cd81f57ae7c34a8354ed1d8cfb5 Mon Sep 17 00:00:00 2001 From: Aiirondev Date: Mon, 20 Apr 2026 13:56:24 +0200 Subject: [PATCH] Refactor instace class to include type hints and improve method documentation --- Website/server-steering.py | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/Website/server-steering.py b/Website/server-steering.py index a8612fb..19c6f40 100644 --- a/Website/server-steering.py +++ b/Website/server-steering.py @@ -1,10 +1,31 @@ import os -class instace(): +class instace: def __init__(self): pass - def new(): + def new(name: str) -> bool: + """ + Generates a new instance with the subdomain [name].invario.eu + + Input: + - name -> String + + Output: + bool if the initiation works (True: generation worked; False: didnt work) + """ pass - \ No newline at end of file + +class ussage: + def __init__(self): + pass + + def ram(): + pass + + def cpu(): + pass + + def storage(): + pass \ No newline at end of file