Add py.typed for type export#1123
Add py.typed for type export#1123piercefreeman wants to merge 2 commits intoicloud-photos-downloader:masterfrom
Conversation
Add py.typed to flag types for export
|
What client projects are you talking about? |
|
@AndreyNikiforov Sure. I import icloudpd directly as a library dependency (previously in https://github.com/piercefreeman/backup/ and soon in some other projects coming up) so I end up calling functions from the raw source: catching exceptions, running a more detailed two-step auth, etc. In these cases I'm treating Adding these types doesn't affect the built package of the binary/CLI so I figure there's no harm in adding to the distribution. |
|
Sorry - just made unprivate. Upcoming library is on the branch if you're trying to take a look: |
|
I need to learn about py.typed... re using |
Definitely no expectations here. Just appreciate you maintaining a useful project. I'm already using my fork anyway as a temporary workaround, so not too worried about breaking changes. Just figure this py.typed typehinting could be helpful for others. |
Allow client projects to introspect types that are internal to iCloud Photos Download.