Closed troyswanson closed 2 years ago
This has been implemented and I went through the remaining code and looked for missing/invalid type hinting and corrected the ones I found. If you have any further ones that need implementing or enhancing, let me know! Thanks.
Included in python-oracledb 1.1.1 which was just released.
The
subscr
module defines classes related to CQN functionality. It would be really nice to see these classes fully decked out with type hints. Here are some ideas:Message.queries
could returnList[MessageQuery]
Message.tables
could returnList[MessageTable]
MessageTable.rows
could returnList[MessageRow]
These enhancements would make working with subscription message objects much easier. Since there are several rows of nesting involved with interacting with the actual rows, it's sometimes hard to keep track of where we are 💫
Thanks for your consideration!