def metadef_resource_type_get(context, resource_type_name, session=None):
 session = (session or get_session())
 return metadef_resource_type_api.get(context, resource_type_name, session)

def metadef_resource_type_get ( context , resource_type_name , session = None ) : session = ( session or get_session ( ) ) return metadef_resource_type_api . get ( context , resource_type_name , session )
get a resource type .