code: def SetBackingStore(cls, backing):
          
  
          if backing not in ['json', 'sqlite', 'memory']:
              raise ArgumentError("Unknown backing store type that is not json or sqlite", backing=backing)
  
          if backing == 'json':
              cls.BackingType = JSONKVStore
              cls.BackingFileName = 'component_registry.json'
          elif backing == 'memory':
              cls.BackingType = InMemoryKVStore
              cls.BackingFileName = None
          else:
              cls.BackingType = SQLiteKVStore
              cls.BackingFileName = 'component_registry.db'
docs: Set the global backing type used by the ComponentRegistry from this point forward
  
          This function must be called before any operations that use the registry are initiated
          otherwise they will work from different registries that will likely contain different data