voprov/serializers/__init__.py
def load_serializers():
        """Loads all available serializers into the registry."""
        from prov.serializers.provjson import ProvJSONSerializer
        from voprov.serializers.provn import VOProvNSerializer
        from voprov.serializers.xml import VOProvXMLSerializer
        from prov.serializers.provrdf import ProvRDFSerializer

        Registry.serializers = {
            'json': ProvJSONSerializer,
            'rdf': ProvRDFSerializer,
            'provn': VOProvNSerializer,
            'xml': VOProvXMLSerializer
        }
Loads all available serializers into the registry.
Loads all available serializers into the registry.
Loads all available serializers into the registry .
def load_serializers():
        from prov.serializers.provjson import ProvJSONSerializer
        from voprov.serializers.provn import VOProvNSerializer
        from voprov.serializers.xml import VOProvXMLSerializer
        from prov.serializers.provrdf import ProvRDFSerializer
        Registry.serializers = {
            'json': ProvJSONSerializer,
            'rdf': ProvRDFSerializer,
            'provn': VOProvNSerializer,
            'xml': VOProvXMLSerializer
        }
def load_serializers ( ) : from prov . serializers . provjson import ProvJSONSerializer from voprov . serializers . provn import VOProvNSerializer from voprov . serializers . xml import VOProvXMLSerializer from prov . serializers . provrdf import ProvRDFSerializer Registry . serializers = { 'json' : ProvJSONSerializer , 'rdf' : ProvRDFSerializer , 'provn' : VOProvNSerializer , 'xml' : VOProvXMLSerializer }
Loads all available serializers into the registry.
Loads all available serializers into the registry .
"""Loads all available serializers into the registry."""