Adding a datahub source type
A datahub source is any custom file source that can be imported into a Knowledge Base. A datahub source converts your source into files. An example source is reading from a SQL database and writing the data as text to a file. First we define a config class, this contains the configuration for the source. The config class must inherit fromCustomSourceConfig
, and must implement the to_files
method.
datahub_sources
method of your plugin.