def get_paramfile(path):
 data = None
 if isinstance(path, six.string_types):
  for (prefix, function_spec) in PREFIX_MAP.items():
   if path.startswith(prefix):
    (function, kwargs) = function_spec
    data = function(prefix, path, **kwargs)
 return data

def get_paramfile ( path ) : data = None if isinstance ( path , six . string_types ) : for ( prefix , function_spec ) in PREFIX_MAP . items ( ) : if path . startswith ( prefix ) : ( function , kwargs ) = function_spec data = function ( prefix , path , ** kwargs ) return data
load parameter based on a resource uri .