在 Zope 里面 ZCML 也有类似功能。Pyramid 支持随时可用的命令语句配置和基于修饰符的配置;ZCML 通过一个扩展包 pyramd_zcml 使用。
extra_constructors=all_constructors, fti=all_ftis, ).initialize(context)最终,在configure.zcml
senaite.lims simplejson zcml = ...