Users currently need to have a biz ops api key set to run nori. This is because it's exported as an instance on the BizOpsClient class, and is immediately instantiated when the commands that import it are initialised when the program loads.
This pr lazy-loads the bizops module, so that it's only instantiated when the consuming function is used. This felt like a simple way of doing it without changing too much - happier to hear better options though.
Users currently need to have a biz ops api key set to run nori. This is because it's exported as an instance on the
BizOpsClient
class, and is immediately instantiated when the commands that import it are initialised when the program loads.This pr lazy-loads the bizops module, so that it's only instantiated when the consuming function is used. This felt like a simple way of doing it without changing too much - happier to hear better options though.