ion-elgreco commented on code in PR #921:
URL: https://github.com/apache/datafusion-python/pull/921#discussion_r1844113029


##########
python/datafusion/context.py:
##########
@@ -685,6 +685,14 @@ def deregister_table(self, name: str) -> None:
         """Remove a table from the session."""
         self.ctx.deregister_table(name)
 
+    def register_table_provider(self, name: str, provider: Any) -> None:

Review Comment:
   You could use a protocol typehint perhaps, so that you get warnings when 
that attribute is missing



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to