Details
-
Type:
Improvement
-
Status: Invalid
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: daf_persistence
-
Labels:None
-
Team:Data Access and Database
Description
lsst.daf.persistence.DbStorage has a method named next that does not act like a python iterator. This makes the Python interface confusing. Please rename the method to something else (preferably both in C++ and Python).
Thanks to Tim Jenness for discovering this.
Attachments
Issue Links
- is blocked by
-
DM-7260 Modify cat package to support python3
- Done
- relates to
-
DM-13788 Remove mariadbclient dependency from daf_persistence
- Done
-
DM-7226 Allow DbStorage to be a modern python iterator
- Done
-
DM-7269 Port ctrl_provenance to Python 3 and update unit tests for pytest
- Done
- mentioned in
-
Page Loading...
Yes,
DM-7226has to be reverted because the C++ next method is not at all related to the Python2 next special method. It would be great if we removed the confusion completely by renaming the C++ method to nextRow or nextResult or something.