File size: 278 Bytes
29cdc9d
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
import json

class ContextManager:
    def __init__(self, manifest_path="system_architecture_map.json"):
        self.path = manifest_path

    def update_manifest(self, data):
        with open(self.path, "w") as f:
            json.dump(data, f, indent=4)
        return True