Skip to content
Snippets Groups Projects
Commit 1a9164fc authored by Antoine Lambert's avatar Antoine Lambert
Browse files

cookers/base: Fix sphinx >= 4.4 warning

Fix "more than one target found for cross-reference 'ObjectType'"
sphinx warning.
parent 5348fcd4
No related branches found
No related tags found
1 merge request!148cookers/base: Fix sphinx >= 4.4 warning
......@@ -12,6 +12,7 @@ from typing import ClassVar, Set
from psycopg2.extensions import QueryCanceledError
import sentry_sdk
import swh.model.swhids
from swh.model.swhids import CoreSWHID, ObjectType
from swh.storage.interface import StorageInterface
......@@ -61,7 +62,7 @@ class BaseVaultCooker(metaclass=abc.ABCMeta):
- def cook(): cook the object into a bundle
"""
SUPPORTED_OBJECT_TYPES: ClassVar[Set[ObjectType]]
SUPPORTED_OBJECT_TYPES: ClassVar[Set[swh.model.swhids.ObjectType]]
BUNDLE_TYPE: ClassVar[str]
def __init__(
......
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