dbt-selly/dbt-env/lib/python3.8/site-packages/agate/rows.py

24 lines
757 B
Python
Raw Normal View History

2022-03-22 15:13:27 +00:00
#!/usr/bin/env python
"""
This module contains agate's :class:`Row` implementation. Rows are independent
of both the :class:`.Table` that contains them as well as the :class:`.Columns`
that access their data. This independence, combined with rows immutability
allows them to be safely shared between table instances.
"""
from agate.mapped_sequence import MappedSequence
class Row(MappedSequence):
"""
A row of data. Values within a row can be accessed by column name or column
index. Row are immutable and may be shared between :class:`.Table`
instances.
Currently row instances are a no-op subclass of :class:`MappedSequence`.
They are being maintained in this fashion in order to support future
features.
"""
pass