def METHOD_NAME(self, config):
    workspace = config.get("workspace")
    for k, v in config.items():
        if isinstance(v, str) and "{workspace}" in v:
            config[k] = v.replace("{workspace}", workspace)
    return config