ssl-hep / ServiceX_frontend

Client access library for ServiceX
https://servicex-frontend.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
5 stars 11 forks source link

Type hint for query classes #453

Open kyungeonchoi opened 2 months ago

kyungeonchoi commented 2 months ago

It's very useful to have type hints when composing a ServiceX spec in python. Type hints are nicely shown for all fields (such as Sample, dataset) but not for query as attached.

Screenshot 2024-09-13 at 3 00 23 PM
ponyisi commented 2 months ago

I don't see how we can really support this with the current plugin system. If we switch to "namespace packages" then it might be possible.