def getExperimentDescriptionInterfaceFromModule(module):
 result = module.descriptionInterface
 assert isinstance(result, expdescriptionapi.DescriptionIface), ('expected DescriptionIface-based instance, but got %s' % type(result))
 return result

def getExperimentDescriptionInterfaceFromModule ( module ) : result = module . descriptionInterface assert isinstance ( result , expdescriptionapi . DescriptionIface ) , ( 'expected DescriptionIface-based instance, but got %s' % type ( result ) ) return result
module: imported description .