class Integer:
pass
class String:
pass
class Packet:
id = Integer()
name = String()
packet = Packet()
second_packet = Packet()
print(packet.id)
print(second_packet.id)
<__main__.Integer object at 0x000001C85B7D6F90>
<__main__.Integer object at 0x000001C85B7D6F90>