<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_target_from_spec(self, spec, relative_to=''):
 """Converts `spec` into an address and returns the result of `get_target` :API: public """

    return self.get_target(Address.parse(spec, relative_to=relative_to))