Skip to content

base_factory

mainsequence.virtualfundbuilder.resource_factory.base_factory

BaseResource

get_source_notebook() classmethod

Retrieve the exact source code of the class from notebook cells.

insert_in_registry(registry, cls, register_in_agent, name=None, attributes=None)

helper for strategy decorators

send_resource_to_backend(resource_class, attributes=None)

Helper function to send the strategy payload to the registry. Parses the arguments of the classes init function and the init functions of the parent classes