VizierDB / web-api-async

Vizier Asynchronous Web API
Apache License 2.0
2 stars 2 forks source link

Export python #73

Closed mrb24 closed 4 years ago

mrb24 commented 4 years ago

This PR adds to the vizier pycell client (vizier.engine.packages.pycell.client.base) the ability to export python classes, functions, and variables for use in other pycells. The storage and retrieval of the exported code is handled by the datastore. Exported code behaves much like datasets as far as storage, retrieval, and read/write provenance, but differs from datasets in use within pycells. Rather than having the use of the exported code go through the client (ie. vizierdb.get_exported_module('name')), all exported code in the context is dumped into the namespace and is available.