Skip to content

Commit

Permalink
Editorial changes after @bsipocz's PR review.
Browse files Browse the repository at this point in the history
  • Loading branch information
msdemlei committed Jul 2, 2024
1 parent f7b0f79 commit 84d48e4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions docs/dal/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -836,6 +836,9 @@ be None if pyvo does not know what row the datalink came from):
>>> dl.original_row["obs_title"]
'CALIFA V1200 UGC00005'

Consider ``original_row`` read only. We do not define what happens when
you modify it.

Rows from tables supporting datalink also have a ``getdatalink()``
method that returns a ``DatalinkResults`` instance. In general, this is
less flexible than using ``iter_datalinks``, and it may also cause more
Expand Down
3 changes: 1 addition & 2 deletions pyvo/dal/adhoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -653,8 +653,7 @@ def get_first_proc(self):

@classmethod
def from_result_url(cls, result_url, *, session=None, original_row=None):
res = super(DatalinkResults, cls).from_result_url(
result_url, session=session)
res = super().from_result_url(result_url, session=session)
res.original_row = original_row
return res

Expand Down

0 comments on commit 84d48e4

Please sign in to comment.