File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -123,13 +123,12 @@ def __init__(
123123
124124 @overrides
125125 def to_pandas (self ) -> DataFrame :
126+ """Return the underlying dataset data as a pandas DataFrame."""
126127 return self ._cache .processor .get_pandas_dataframe (self ._stream_name )
127128
128129 def to_sql_table (self ) -> Table :
129- if self ._sql_table is None :
130- self ._sql_table : Table = self ._cache .processor .get_sql_table (self .stream_name )
131-
132- return self ._sql_table
130+ """Return the underlying SQL table as a SQLAlchemy Table object."""
131+ return self ._cache .processor .get_sql_table (self .stream_name )
133132
134133 def __eq__ (self , value : object ) -> bool :
135134 """Return True if the value is a CachedDataset with the same cache and stream name.
You can’t perform that action at this time.
0 commit comments