Changeset View
Changeset View
Standalone View
Standalone View
swh/graphql/resolvers/base_node.py
# 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 | |||||
from abc import ABC | from abc import ABC | ||||
from collections import namedtuple | from collections import namedtuple | ||||
from swh.graphql.errors import ObjectNotFoundError | from swh.graphql.errors import ObjectNotFoundError | ||||
class BaseNode(ABC): | class BaseNode(ABC): | ||||
""" | """ | ||||
▲ Show 20 Lines • Show All 68 Lines • Show Last 20 Lines |