Patty C
Jun 29, 2024

--

You can use Iterable[] and also another nice touch here is to make a type alias called something like numeric that is the union of int and float :) reads so much nicer in your type hinting

--

--

Patty C
Patty C

Written by Patty C

Data Architect, Software Engineer, Data Scientist, moonlighting Bio-informatician.

No responses yet