mirror of
https://github.com/yweber/lodel2.git
synced 2025-10-30 11:09:03 +01:00
Inheritance of MlNamedObject 3
This commit is contained in:
parent
6d5da933e0
commit
5d2be8737a
4 changed files with 8 additions and 7 deletions
|
|
@ -12,7 +12,7 @@ import hashlib
|
|||
from lodel.context import LodelContext
|
||||
LodelContext.expose_modules(globals(), {
|
||||
'lodel.utils.mlstring': ['MlString'],
|
||||
'lodel.mlnamedobject': ['MlNamedObject'],
|
||||
'lodel.mlnamedobject.mlnamedobject': ['MlNamedObject'],
|
||||
'lodel.settings': ['Settings'],
|
||||
'lodel.editorial_model.exceptions': ['EditorialModelError', 'assert_edit'],
|
||||
'lodel.leapi.leobject': ['CLASS_ID_FIELDNAME']})
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ import copy
|
|||
from lodel.context import LodelContext
|
||||
LodelContext.expose_modules(globals(), {
|
||||
'lodel.utils.mlstring': ['MlString'],
|
||||
'lodel.mlnamedobject': ['MlNamedObject'],
|
||||
'lodel.mlnamedobject.mlnamedobject': ['MlNamedObject'],
|
||||
'lodel.logger': 'logger',
|
||||
'lodel.settings': ['Settings'],
|
||||
'lodel.settings.utils': ['SettingsError'],
|
||||
|
|
|
|||
|
|
@ -2,10 +2,11 @@
|
|||
|
||||
from lodel.context import LodelContext
|
||||
LodelContext.expose_modules(globals(), {
|
||||
'lodel.utils.mlstring': ['MlString'],
|
||||
'lodel.logger': 'logger',
|
||||
'lodel.settings': ['Settings'],
|
||||
'lodel.settings.utils': ['SettingsError']})
|
||||
'lodel.utils.mlstring': ['MlString']})
|
||||
|
||||
## @package lodel.mlnamedobject Lodel2 description of objects module
|
||||
#
|
||||
# Display name and Description of a lodel2 object
|
||||
|
||||
class MlNamedObject(object):
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import copy
|
|||
|
||||
from lodel.context import LodelContext
|
||||
LodelContext.expose_modules(globals(), {
|
||||
'lodel.mlnamedobject': ['MlNamedObject'],
|
||||
'lodel.mlnamedobject.mlnamedobject': ['MlNamedObject'],
|
||||
'lodel.exceptions': ['LodelException', 'LodelExceptions',
|
||||
'LodelFatalError', 'FieldValidationError']})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue