Skip to content
Snippets Groups Projects
Commit 838ad9dc61ef authored by Adrien Di Mascio's avatar Adrien Di Mascio
Browse files

[schema] use explicit imports in schema declaration

parent 270a76e20b93
No related branches found
No related tags found
No related merge requests found
# template's specific schema
Expense = import_erschema('Expense')
Expense.add_relation(SubjectRelation('Workcase', cardinality='?*'), name='spent_for')
from yams.buildobjs import SubjectRelation
......@@ -4,1 +3,5 @@
from cubes.expense.schema import Expense
Expense.add_relation(SubjectRelation('Workcase', cardinality='?*'),
name='spent_for')
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