def get_object(self, name):
parts = name.split("<STR_LIT:.>")<EOL>space = self.spaces[parts.pop(<NUM_LIT:0>)]<EOL>if parts:<EOL><INDENT>return space.get_object("<STR_LIT:.>".join(parts))<EOL><DEDENT>else:<EOL><INDENT>return space<EOL><DEDENT>
Retrieve an object by a dotted name relative to the model.