MCPcopy Create free account
hub / github.com/GerevAI/gerev / get_data_source_class

Method get_data_source_class

app/data_source/api/context.py:45–50  ·  view source on GitHub ↗
(cls, data_source_name: str)

Source from the content-addressed store, hash-verified

43
44 @classmethod
45 def get_data_source_class(cls, data_source_name: str) -> BaseDataSource:
46 if not cls._initialized:
47 cls.init()
48 cls._initialized = True
49
50 return cls._data_source_classes[data_source_name]
51
52 @classmethod
53 def get_data_source_classes(cls) -> Dict[str, BaseDataSource]:

Callers 4

upgradeFunction · 0.45
create_data_sourceMethod · 0.45
list_locationsFunction · 0.45

Calls 1

initMethod · 0.80

Tested by

no test coverage detected