summaryrefslogtreecommitdiff
path: root/test/ext/mypy/plain_files/dml.py
Commit message (Collapse)AuthorAgeFilesLines
* Improve from_select typingFederico Caselli2023-03-271-0/+6
| | | | | | | | Properly type :paramref:`_dml.Insert.from_select.names` to accept a list of string or columns or mapped attributes. Fixes: #9514 Change-Id: I2a3396454e79bd2113fc3d57d1252a2e6d141310
* use read-only Mapping for values dictionary typeMike Bayer2023-02-261-0/+35
Improved typing for the mapping passed to :meth:`.UpdateBase.values` to be more open-ended about collection type, by indicating read-only ``Mapping`` instead of writeable ``Dict``, the latter of which would error out under typing tools on too limited of a key type. Fixes: #9376 Change-Id: Ib7fdbba05ca7e1082409e1b5616e6a010262f032