Schema

class lsst.daf.butler.Schema(spec=None)

Bases: object

The SQL schema for a Butler Registry.

Parameters
specdict, optional

Dictionary mapping str name to TableSpec, as returned by SchemaConfig.toSpec. Will be constructed from default configuration if not provided.

Attributes
metadatasqlalchemy.MetaData

The sqlalchemy schema description.

tablesdict

A mapping from table or view name to the associated SQLAlchemy object. Note that this contains both true tables and views.

viewsset

The names of entries in tables that are actually implemented as views.