You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We already have a version of this file in `generate_s2_message_type_to_class.py` to generate a mapping from `message_type` literals into the appropriate class. You are using it to generate a list of all message types into an alternative `S2Message` type which only contains messages.
I think we can combine the 2. My proposal would be to move TYPE_TO_MESSAGE_CLASS to the new src/s2python/message.py file and generate this entire file with a single script. The result would be that we generate both the TYPE_TO_MESSAGE_CLASS constant as well as the S2Message type.
I think we can combine the 2. My proposal would be to move
TYPE_TO_MESSAGE_CLASS
to the newsrc/s2python/message.py
file and generate this entire file with a single script. The result would be that we generate both theTYPE_TO_MESSAGE_CLASS
constant as well as theS2Message
type.Originally posted by @lfse-slafleur in #37 (comment)
The text was updated successfully, but these errors were encountered: