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.

__init__.py 575B

123456789101112131415161718
  1. from lodel.settings.validator import SettingValidator
  2. __loader__ = "main.py"
  3. __confspec__ = "confspec.py"
  4. __author__ = "Lodel2 dev team"
  5. __fullname__ = "Dummy plugin"
  6. ##@brief This methods allow plugin writter to write some checks
  7. #
  8. #@return True if checks are OK else return a string with a reason
  9. def _activate():
  10. import leapi_dyncode
  11. print("Testing dynamic objects : ")
  12. print("Object : ", leapi_dyncode.Object)
  13. print("Publication : ", leapi_dyncode.Publication)
  14. print("Publication fields : ", leapi_dyncode.Publication.fieldnames())
  15. return True