123456789101112131415161718 |
- from lodel.settings.validator import SettingValidator
-
- __loader__ = "main.py"
- __confspec__ = "confspec.py"
- __author__ = "Lodel2 dev team"
- __fullname__ = "Dummy plugin"
-
-
- ##@brief This methods allow plugin writter to write some checks
- #
- #@return True if checks are OK else return a string with a reason
- def _activate():
- import leapi_dyncode
- print("Testing dynamic objects : ")
- print("Object : ", leapi_dyncode.Object)
- print("Publication : ", leapi_dyncode.Publication)
- print("Publication fields : ", leapi_dyncode.Publication.fieldnames())
- return True
|