Refactor instace class to include type hints and improve method documentation

This commit is contained in:
2026-04-20 13:56:24 +02:00
parent 5d9d52aedb
commit 5f27dcd46d
+24 -3
View File
@@ -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
class ussage:
def __init__(self):
pass
def ram():
pass
def cpu():
pass
def storage():
pass