Payload

class lsst.daf.relation.sql.Payload(from_clause: sqlalchemy.sql.selectable.FromClause, where: list = <factory>, columns_available: dict = <factory>)

Bases: typing.Generic

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() → lsst.daf.relation.sql._payload.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.