@classmethod
    @usage("edit [CONNECTION]")
    def edit(cls, connection=None):
        filename = cls._get_config_filename(connection)
        if os.path.exists(filename):
            editor = os.environ.get("EDITOR")
            if editor:
                subprocess.call([editor, filename])
            else:
                print("Please set an editor in the EDITOR environment variable")
        else:
            cls._no_config_file_error(filename)
open the config file for CONNECTION with you default editor
dataset/ETHPy150Open Shopify/shopify_python_api/scripts/shopify_api.py/Tasks.edit