Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
skos
Commits
25dbd82fc1d1
Commit
6c0e593b
authored
Oct 28, 2022
by
Laurent Peuch
Browse files
refactor(deprecation): rdef has been renamed to relation_definition
parent
ad4c60898972
Pipeline
#158674
passed with stages
in 6 minutes and 2 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
cubicweb_skos/views/widgets.py
View file @
25dbd82f
...
...
@@ -78,7 +78,7 @@ if relationwidget_imported:
def
schema_rdef
(
self
):
rtype
,
tetype
,
role
=
self
.
rdef
entity
=
self
.
compute_entity
()
return
entity
.
e_schema
.
r
def
(
rtype
,
role
,
tetype
)
return
entity
.
e_schema
.
r
elation_definition
(
rtype
,
role
,
tetype
)
def
preferred_languages
(
self
):
"""Return language by order of preference."""
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment