Open oyvindeide opened 4 years ago
Related to this:
Would also be useful for the program using the API to ask for webviz not automatically open in a browser, as well as return instance information (url, port, one time token) such that the consumer can choose to open the instance at a later time.
It would be nice to have a programmatic API where it would be possible to pass a dict instead of a yaml. Would require moving the yaml parsing closer to the entry point, and modification to https://github.com/equinor/webviz-config/blob/8aa9a6c54b8c419d8f5de581357fd42de49dabb6/webviz_config/_write_script.py#L12 and https://github.com/equinor/webviz-config/blob/8aa9a6c54b8c419d8f5de581357fd42de49dabb6/webviz_config/_config_parser.py#L158