Conversation
|
Unfortunately Self isn't available in typing in python 3.10, which we still support.
|
|
Your syntax for Callable is very close, but it should be
|
|
Beyond the ETL constructor now instantiating self.table, there does appear to be one change to behavior here which is that |
Ty for checking! I'm still planning to hit other files, but haven't gotten there yet. For this one, I wasn't 100% on the types that the underlying petl functions accepts for its value from their docs. However, the logic in I am still unsure if petl tables like python class instances as values vs primitive types. I would suspect no... Not sure of the best way to indicate that in type hints. But also you make a good point about that being a code break. This doesn't seem to be supported currently by Parsons, and that is not my intent with this PR. Will revert, even if correct. Good catch! I will certainly get carried away again lol. |
Coverage reportClick to see where and how coverage changed
This report was generated by python-coverage-comment-action |
||||||||||||||||||||||||
|
Couple things you might find helpful: |
What is this change?
parsons.etl.Considerations for discussion
__init__()to do so.How to test the changes (if needed)