No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

mlnamedobject.py 536B

12345678910111213141516
  1. #-*- coding:utf-8 -*-
  2. from lodel.context import LodelContext
  3. LodelContext.expose_modules(globals(), {
  4. 'lodel.utils.mlstring': ['MlString']})
  5. ## @package lodel.mlnamedobject Lodel2 description of objects module
  6. #
  7. # Display name and Description of a lodel2 object
  8. class MlNamedObject(object):
  9. def __init__(self, display_name = None, help_text = None):
  10. self.display_name = None if display_name is None else MlString(display_name)
  11. self.help_text = None if help_text is None else MlString(help_text)