def __init__(self, doc):
        """
        Creates an instance of the KubeConfig class.
        """
        self.doc = doc
        self.current_context = None
        if "current-context" in doc and doc["current-context"]:
            self.set_current_context(doc["current-context"])
dataset/ETHPy150Open eldarion-gondor/pykube/pykube/config.py/KubeConfig.__init__/original