You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If there is a lot of data to initialize, writing it all in the amod file is impractical. So instead of hard-coding specific file formats, provide an API and allow plugins to read the data - possibly with something like go-plugin. If done properly, this would allow writing plugins in almost any language.
Then the init section might look like this:
memory {
reader: my-csv-plugin
files {
'file name 1'
'file name 2'
}
}
Where reader might be an external plugin or an internal one (i.e. flat text file).
Currently the python backend has to write these out like this:
If there is a lot of data to initialize, writing it all in the amod file is impractical. So instead of hard-coding specific file formats, provide an API and allow plugins to read the data - possibly with something like go-plugin. If done properly, this would allow writing plugins in almost any language.
Then the init section might look like this:
Where
reader
might be an external plugin or an internal one (i.e. flat text file).Currently the python backend has to write these out like this:
Which is also impractical. So we would have to figure out how to handle this more intelligently.
The text was updated successfully, but these errors were encountered: