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
OWL2YAMS
Commits
2ca485d5f673
Commit
2ca485d5
authored
Nov 04, 2021
by
Fabien Amarger
Browse files
fix(mapping): Use CWRType insteand of CWRelation
because of yams
parent
72fa0209945c
Pipeline
#92215
failed with stages
in 52 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
owl2yams/generate_postcreate.py
View file @
2ca485d5
...
...
@@ -27,6 +27,6 @@
for
yams_class_name
,
uri_with_namespace
in
entitytype_to_uri
.
items
():
mapping
.
append
((
yams_class_name
,
str
(
uri_with_namespace
),
"CWEType"
))
for
yams_relation_name
,
uri_with_namespace
in
relationtype_to_uri
.
items
():
mapping
.
append
((
yams_relation_name
,
str
(
uri_with_namespace
),
"CWR
elation
"
))
mapping
.
append
((
yams_relation_name
,
str
(
uri_with_namespace
),
"CWR
Type
"
))
return
postcreate_template
.
render
(
mapping
=
mapping
)
Write
Preview
Markdown
is supported
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