SNOW-1306306: `DataFrame.cache_result()` type hinting
Please answer these questions before submitting your issue. Thanks!
-
What version of Python are you using?
Python 3.11.2
-
What operating system and processor architecture are you using?
macOS-14.2.1-arm64-arm-64bit
-
What are the component versions in the environment (
pip freeze)?
n/a
-
What did you do?
Cache result of a DataFrame and pylance type hinting in VScode shows type
Any -
What did you expect to see?
In this line using from snowflake.snowpark.table import Table will provide better typing hinting because of the absolute import
After the change:
@shanefrieskh would you mind creating a PR for this? Keep in mind the circular import between dataframe.py and table.py
https://adamj.eu/tech/2021/05/13/python-type-hints-how-to-fix-circular-imports/