iris-hep / idap-200gbps-atlas

benchmarking throughput with PHYSLITE
6 stars 1 forks source link

Type library does not know what type `len` is #129

Open gordonwatts opened 3 months ago

gordonwatts commented 3 months ago

If you use the len funciton, you get a type warning - that the type library does not know what type len is.

    def count_jets(events, n_jets: int):
        return events.Where(lambda e: len(e.jet) >= n_jets)