malmeloo / FindMy.py

🍏 + 🎯 + 🐍 = Everything you need to work with Apple's FindMy network!
http://docs.mikealmel.ooo/FindMy.py/
MIT License
59 stars 7 forks source link

export reports.LocationReport? #35

Open ubertao opened 2 months ago

ubertao commented 2 months ago

This is much needed for type hinting. Thanks

malmeloo commented 2 months ago

I am a bit hesitant to export "non-functional" classes and functions in the top-level packages, but I agree that there are valid use cases for this. This is a good reminder for me to rethink this strategy, as there are some other classes for which this applies as well.

For now, you can import it directly from the underlying module:

from findmy.reports.reports import LocationReport

I'll fix this properly soon.