Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
Vault
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Antoine Lambert
Vault
Commits
1a9164fc
Commit
1a9164fc
authored
2 years ago
by
Antoine Lambert
Browse files
Options
Downloads
Patches
Plain Diff
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
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
swh/vault/cookers/base.py
+2
-1
2 additions, 1 deletion
swh/vault/cookers/base.py
with
2 additions
and
1 deletion
swh/vault/cookers/base.py
+
2
−
1
View file @
1a9164fc
...
...
@@ -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__
(
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment