Aw: Re: Re: mypy question
Karsten Hilbert
Karsten.Hilbert at gmx.net
Sat Dec 30 12:08:08 EST 2023
> It occurs to me that you could simplify things if you converted those
> plain query strings to dicts:
>
> 'SELECT 1' --> {'SQL': 'SELECT 1'}
Ha, indeed. There's likely not that many "simple string SQL queries"
in that codebase so I shall take it as an opportunity to refactor them.
So, at least that much good has come from the mypy hint ;-)
Karsten
More information about the Python-list
mailing list