Changeset View
Changeset View
Standalone View
Standalone View
swh/loader/package/maven/__init__.py
- This file was added.
# Copyright (C) 2021 The Software Heritage developers | |||||
ardumont: Did you start it in 2019?
How time flies! | |||||
Done Inline ActionsAhah! Doesn't it? borisbaldassari: Ahah! Doesn't it?
Fixed: 2021 only. Thanks. | |||||
Done Inline Actionsshould be 2021 in the end. ardumont: should be 2021 in the end. | |||||
Done Inline ActionsThe modif had not been picked up by the commit, my bad. Set to 2021 only. borisbaldassari: The modif had not been picked up by the commit, my bad. Set to 2021 only. | |||||
# See the AUTHORS file at the top-level directory of this distribution | |||||
# License: GNU General Public License version 3, or any later version | |||||
# See top-level LICENSE file for more information | |||||
from typing import Any, Mapping | |||||
def register() -> Mapping[str, Any]: | |||||
"""Register the current worker module's definition""" | |||||
from .loader import MavenLoader | |||||
return { | |||||
"task_modules": [f"{__name__}.tasks"], | |||||
"loader": MavenLoader, | |||||
} |
Did you start it in 2019?
How time flies!