def GetValues()

in 02_bootstrap-scripts-python/bootstrap/context.py [0:0]


    def GetValues(self) -> dict:
        content = environ[self.indicator]
        if "key" in self.options.keys():
            sep: str = self.options.get("separator", ".")
            values: dict = {}
            stringToNestedObject(
                self.options["key"], self.GetContent(content), values, separator=sep)
            return values
        else:
            return self.GetContent(content)