How does ray obtain the attributes on the corresponding remote worker through the actor?

How does ray obtain the attributes on the corresponding remote worker through the actor?