Currently we extract the type from the AnnAssign node e.g. from:
we would extract str | int. In such case the type annotation has more information than the value (when it comes to tab completion).
However, sometimes the value will have more information. Consider:
y: dict = {'long_key': 1, 'longer_key': 2}
For y completions the dict annotation is redundant with respect to the value and the value contains more information as it will allow us to complete the keys of the dictionary as in: