TableSpec
=========

.. currentmodule:: lsst.daf.butler

.. autoclass:: TableSpec
   :show-inheritance:

   .. rubric:: Attributes Summary

   .. autosummary::

      ~TableSpec.doc
      ~TableSpec.sql

   .. rubric:: Methods Summary

   .. autosummary::

      ~TableSpec.addForeignKeys
      ~TableSpec.fromConfig
      ~TableSpec.isView
      ~TableSpec.toSqlAlchemy

   .. rubric:: Attributes Documentation

   .. autoattribute:: doc
   .. autoattribute:: sql

   .. rubric:: Methods Documentation

   .. automethod:: addForeignKeys
   .. automethod:: fromConfig
   .. automethod:: isView
   .. automethod:: toSqlAlchemy