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

Method get_config_fields

app/data_source/api/base_data_source.py:55–64  ·  view source on GitHub ↗

Returns a list of fields that are required to configure the data source for UI. for example: [ ConfigField(label="Url", name="url", type="text", placeholder="https://example.com"), ConfigField(label="Token", name="token", type="password", placeholder=

()

Source from the content-addressed store, hash-verified

53 @staticmethod
54 @abstractmethod
55 def get_config_fields() -> List[ConfigField]:
56 """
57 Returns a list of fields that are required to configure the data source for UI.
58 for example:
59 [
60 ConfigField(label="Url", name="url", type="text", placeholder="https://example.com"),
61 ConfigField(label="Token", name="token", type="password", placeholder="paste-your-token-here")
62 ]
63 """
64 raise NotImplementedError
65
66 @staticmethod
67 @abstractmethod

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected