Skip to content
Snippets Groups Projects
Commit d5f541e3 authored by vlorentz's avatar vlorentz
Browse files

Add attribute visit_type.

Will be required by swh-loader-core v0.0.45.
parent 123a86e1
No related branches found
No related tags found
1 merge request!21Add attribute visit_type to git loader
......@@ -23,6 +23,8 @@ class GitLoaderFromDisk(UnbufferedLoader):
CONFIG_BASE_FILENAME = 'loader/git-disk'
visit_type = 'git'
def __init__(self, config=None):
super().__init__(logging_class='swh.loader.git.Loader', config=config)
......
......@@ -192,6 +192,8 @@ class GitLoader(UnbufferedLoader):
'pack_size_bytes': ('int', 4 * 1024 * 1024 * 1024),
}
visit_type = 'git'
def __init__(self, repo_representation=RepoRepresentation, config=None):
"""Initialize the bulk updater.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment