:py:mod:`cobra.core.singleton` ============================== .. py:module:: cobra.core.singleton .. autoapi-nested-parse:: Define the singleton meta class. Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: cobra.core.singleton.Singleton .. py:class:: Singleton Bases: :py:obj:`type` Implementation of the singleton pattern as a meta class. .. py:attribute:: _instances .. py:method:: __call__(*args, **kwargs) Override an inheriting class' call.