New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ability to generate specification #311
Comments
Sounds good! Can you explain "because View.pipeline should generally not inline and serialize the entire Pipeline specification" a bit? |
Sure, the problem in general is that a full-specification depends a bit on the context you are planning to use the exported specification in. Let's say you want to export a |
looks like it's partially implemented. Should we close this issue? |
This has for the most part been implemented now so yes, I'll close. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
All components currently implement
.from_spec
methods which instantiate the component from the declarative specification. We want to be able to do the reverse and construct a specification from component instances by implementing.to_spec
methods.For all the basic component types this should be fairly straightforward, e.g. a
Source
,View
orFilter
simply has to serialize it's parameters and its type. It becomes a little more difficult if we are dealing with references and variables becauseView.pipeline
should generally not inline and serialize the entirePipeline
specification.Goals
Dashboard
orPipeline
definition.The text was updated successfully, but these errors were encountered: