def parse(self, source=None, publicID=None, format=None,
              location=None, file=None, data=None, **args):

        source = create_input_source(source=source, publicID=publicID,
                                     location=location, file=file,
                                     data=data, format=format)
        if format is None:
            format = source.content_type
        if format is None:
            # raise Exception("Could not determine format for %r. You can" + \
            # "expicitly specify one with the format argument." % source)
            format = "application/rdf+xml"
        parser = plugin.get(format, Parser)()
        try:
            parser.parse(source, self, **args)
        finally:
            if source.auto_close:
                source.close()
        return self
Test that we can get the size of an object in the swift store
dataset/ETHPy150Open RDFLib/rdflib/rdflib/graph.py/Graph.parse--crossover with--dataset/ETHPy150Open openstack/glance_store/glance_store/tests/unit/test_swift_store.py/SwiftTests.test_get_size