MCPcopy Create free account
hub / github.com/CL-lau/SQL-GPT / wrapper

Function wrapper

embedding/embeddingHelper.py:43–46  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

41 instances = {}
42
43 def wrapper(*args, **kwargs):
44 if cls not in instances:
45 instances[cls] = cls(*args, **kwargs)
46 return instances[cls]
47
48 return wrapper
49

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected