docs: def register_single(key, value, param=None):
      '''Generates resolver to return singleton value and adds it to global container'''
      get_current_scope().container.register(key, lambda: value, param)