<s> import os <EOL> import pdb <EOL> import sys <EOL> import tempfile <EOL> sys . path . append ( "<STR_LIT>" ) <EOL> from translator . toscalib . tosca_template import ToscaTemplate <EOL> from core . models import User , Deployment , SliceRole <EOL> from xosresource import XOSResource <EOL> class XOSSliceRole ( XOSResource ) : <EOL> provides = "<STR_LIT>" <EOL> xos_model = SliceRole <EOL> name_field = "<STR_LIT>" <EOL> def get_xos_args ( self ) : <EOL> args = super ( XOSSliceRole , self ) . get_xos_args ( ) <EOL> return args <EOL> def delete ( self , obj ) : <EOL> super ( XOSSliceRole , self ) . delete ( obj ) </s>
