code: def one_shot_function(self, **kwargs):
      if self.one_shot_calls > 0:
          raise "Can't call me twice"
      self.one_shot_calls += 1
      return self.one_shot_calls
  
file_path: lore/tests/unit/test_stores.py
imports: import datetime
  import unittest
  import os
  import time
  import lore
  from lore.stores import query_cached
  from lore.stores.disk import Disk
label_desc: Use image node_id 2 for calling the TestDisk obj's underlying member method code with example usage: obj.one_shot_function() and returns: self