def __init__(self, config_file, *args, **kwargs):
self.config_file = config_file<EOL>super(Config, self).__init__(*args, **kwargs)<EOL>if not os.path.exists(config_file) or config_file is None:<EOL><INDENT>self.update({"<STR_LIT>": {}})<EOL>self.write()<EOL><DEDENT>else:<EOL><INDENT>file = open(self.config_file)<EOL>config = yaml.safe_load(file.read())<EOL>file.close()<EOL>if config is not None:<EOL><INDENT>self.update(config)<EOL><DEDENT><DEDENT>
Workspace object initialization.