Don’t make the symbol public, or call it _set_deadline, or whatever is the idiom in Python. The point of this example is ofc not having set_deadline be used, but the other symbols.
Again, you don’t need to duplicate a function body just to have semantic names.