Relative Content

Tag Archive for pythonmypy

Mypy type hint for set and dict

Hello I have a function that can return either an empty set {} or a set of strings: {'string1', 'string2'}. How would I type hint this?