from typing import Dict import os import requests def get_string(env, config: Dict[str, str]) -> str: """ Config: string (str) """ return config["string"] def get_command_line(env, config: Dict[str, str]) -> str: """ Config: string (str) """ f = os.popen(config["command"]) return f.read()