Skip to content
Snippets Groups Projects
Commit 3b968592 authored by Antoine Pietri's avatar Antoine Pietri
Browse files

Re-add swh/graph/client.py for backward-compatibility

parent 32f2626a
No related branches found
No related tags found
No related merge requests found
# Copyright (c) 2022 The Software Heritage developers
# 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
import warnings
from .http_client import * # noqa
warnings.warn(
"the swh.graph.client module is deprecated, use swh.graph.http_client instead",
DeprecationWarning,
stacklevel=2,
)
# Copyright (c) 2022 The Software Heritage developers
# 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
import warnings
from .http_naive_client import * # noqa
warnings.warn(
"the swh.graph.naive_client module is deprecated, use swh.graph.http_naive_client instead",
DeprecationWarning,
stacklevel=2,
)
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