def resolve_provider_class(class_):
 if isinstance(class_, str):
  path = '.'.join([__package__, 'providers', class_])
  return (import_string(class_, True) or import_string(path))
 else:
  return class_

def resolve_provider_class ( class_ ) : if isinstance ( class_ , str ) : path = '.' . join ( [ __package__ , 'providers' , class_ ] ) return ( import_string ( class_ , True ) or import_string ( path ) ) else : return class_
returns a provider class .