Code:
@dataclass
class SessionMetadata:
"""Metadata of a Session
Attributes:
created_at: Date of creation, in POSIX timestamp format.
usage_count: The number of times the session was applied to the payload.
"""
created_at: int
usage_count: int
Vscode:

PyCharm:

If I write the code like this in VScode, the hover document can be displayed:
@dataclass
class SessionMetadata:
created_at: int
"""
Date of creation, in POSIX timestamp format.
"""
usage_count: int
"""
The number of times the session was applied to the payload.
"""

But how to display the document in the first way of annotation?