code: def get_scope_path(self, scope_separator="::"):
          
          if self.parent_scope is None:
              return ""
          elif isinstance(self.parent_scope, Root):
              return ""
          else:
              parent_path = self.parent_scope.get_scope_path(scope_separator)
              if parent_path:
                  return(
                      parent_path
                      + scope_separator
                      + self.parent_scope.type_name
                  )
              else:
                  return self.parent_scope.type_name
docs: Generate a string that represents this component's declaration namespace
          scope.
  
          Parameters
          ----------
          scope_separator: str
              Override the separator between namespace scopes