ProductFactory#

class stixcore.products.product.ProductFactory(default_widget_type=None, additional_validation_functions=[], registry=None)[source]#

Bases: BasicRegistrationFactory

Methods Summary

__call__(*args, **kwargs)

Method for running the factory.

Methods Documentation

__call__(*args, **kwargs)[source]#

Method for running the factory.

Arguments args and kwargs are passed through to the validation function and to the constructor for the final type.