lively-lunch-9285
11/13/2022, 9:03 AM.pyi
files? I've not authored one of these myself, but I believe these allow you to define type hints in a separate file to the source code files, thus preserving Python 2.7 compatibility, but adding much desired autocompletion/intellisense to editors.
Original thread by @cold-airport-8333 and @narrow-lion-2703 /@User linked in thread.lively-lunch-9285
11/13/2022, 9:03 AMlively-lunch-9285
11/13/2022, 9:09 AMdry-beach-38304
11/14/2022, 5:42 PMdry-beach-38304
11/14/2022, 5:43 PMlively-lunch-9285
11/16/2022, 5:38 AMdry-beach-38304
11/16/2022, 5:41 AMdry-beach-38304
11/16/2022, 5:44 AMdry-beach-38304
11/16/2022, 5:46 AMlively-lunch-9285
11/16/2022, 5:48 AM.pyi
files to a Metaflow wheel instead of the inline type hints in your PR?dry-beach-38304
11/16/2022, 6:04 AMlively-lunch-9285
11/16/2022, 6:17 AMpyi
files could be added later. If the two conflict, these types could be removed at that point. I don't imagine there would be issues with backwards compatibility if the in-line hints were added then taken out later.dry-beach-38304
11/16/2022, 8:19 AM