def setup(self, scope_name: str, obj: Any=None):
    if (scope_name is None):
        assert (obj is not None), 'Must provide either scope_name or a reference object to infer scope_name'
        scope_name = type(obj).__name__
    self.rel = scope_name
    self.abs = absolute_scope_name(self.rel)
def setup(self, scope_name: str, obj: Any=None):
    if (scope_name is None):
        assert (obj is not None), 'Must provide either scope_name or a reference object to infer scope_name'
        scope_name = type(obj).__name__
    self.rel = scope_name
    self.abs = absolute_scope_name(self.rel)