Description
Is your feature request related to a problem? Please describe.
I'm writing a python library that uses the V2 json-rpc api, and it really annoys me that although there is an initialization request that would be perfect for plugins to create a cache, plugins have to wait until the first query request is received to start building their cache, resulting in long first queries. This is because currently, the plugin's settings only seem to be sent to the plugin on query requests.
Describe the solution you'd like
I'd be ok with either of the following solutions:
- Add a
GetSettings
method to the public Flow API, so that plugins can request the settings on initialization. - Include the current settings to the plugin in the
initialize
method's parameters (and based on how #Reload Context #3081 gets resolved, making sure its in therestart
method's parameters as well)
Describe alternatives you've considered
Having the plugin read the plugin's settings file on restart, but although this would probably work as a "solution", this issue seems like it should have a better fix.
Additional context
Add any other context or screenshots about the feature request here.