Refactor instace class to include type hints and improve method documentation
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user