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.

link.py 572B

12345678910111213
  1. # -*- coding: utf-8 -*-
  2. from lodel.leapi.datahandlers.reference import Reference
  3. from lodel.editorial_model.components import EmClass
  4. class DataHandler(Reference):
  5. ## @brief instanciates a link reference
  6. # @param allowed_classes list | None : list of allowed em classes if None no restriction
  7. # @param internal bool : if False, the field is not internal
  8. # @param kwargs : Other named arguments
  9. def __init__(self, allowed_classes=None, internal=False, **kwargs):
  10. super().__init__(allowed_classes=allowed_classes, internal=internal, **kwargs)