Package rdfalchemy :: Module orm
[hide private]
[frames] | no frames]

Module orm

source code

orm.py

Created by Philip Cooper on 2007-11-23. Copyright (c) 2007 Openvest. All rights reserved.

Functions [hide private]
 
allsub(cl, beenthere=set([]))
return all subclasses of the given class
source code
 
mapper(*classes)
Map the classes given to allow descriptors with ranges to the proper Class of that type default if no args is to map all subclasses(recursivly) of rdfSubject
source code
Variables [hide private]
  log = logging.getLogger(__name__)
Function Details [hide private]

mapper(*classes)

source code 

Map the classes given to allow descriptors with ranges to the proper Class of that type default if no args is to map all subclasses(recursivly) of rdfSubject

preforms the mapping

returns a dict of {rdf_type: mapped_class} for further processing