Payload

class lsst.daf.relation.sql.Payload(from_clause: ~sqlalchemy.sql.selectable.FromClause, where: list[sqlalchemy.sql.elements.ColumnElement] = <factory>, columns_available: dict[lsst.daf.relation._columns._tag.ColumnTag, ~_L] = <factory>)

Bases: Generic[_L]

A struct that represents a SQL table or simple SELECT query via SQLAlchemy objects.

Methods Summary

copy()

Return a copy of this struct that can safely be modified.

Methods Documentation

copy() Payload[_L]

Return a copy of this struct that can safely be modified.

This method takes care to copy mutable attributes while leaving immutable objects alone.