def do_export(self, resource_id, resource_dict, parent_dir):
     """
     Default export action is to upload artifacts and set the property to
     URL of the uploaded object
     """
     uploaded_url = upload_local_image_artifacts(resource_id, resource_dict,
                                                 self.PROPERTY_NAME,
                                                 parent_dir, self.uploader)
     set_value_from_jmespath(resource_dict, self.PROPERTY_NAME,
                             uploaded_url)
 def do_export(self, resource_id, resource_dict, parent_dir):
     """
     Default export action is to upload artifacts and set the property to
     dictionary where the key is EXPORT_PROPERTY_CODE_KEY and value is set to an
     uploaded URL.
     """
     uploaded_url = upload_local_image_artifacts(resource_id, resource_dict,
                                                 self.PROPERTY_NAME,
                                                 parent_dir, self.uploader)
     set_value_from_jmespath(resource_dict, self.PROPERTY_NAME,
                             {self.EXPORT_PROPERTY_CODE_KEY: uploaded_url})