-
-
Save maliciousgroup/ac02128c69d52a187c95a0e248d4aea5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global_server_registry: list = [] | |
def add_server_instance(template: str, variables: dict) -> None: | |
data = tuple([template, variables]) | |
if data not in global_server_registry: | |
global_server_registry.append(data) | |
def get_server_instances() -> list: | |
return global_server_registry |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment