class_docstr: docstring
class_docstr_tok: ["docstring"]
code: def from_sympy(cls, expr):
      [domain, [element]] = construct_domain([expr])
      return cls.new(element, domain)
  
imports: from ..constructor import construct_domain
  from sympy.polys.domains import Domain, ZZ
label_desc: Use image node_id 4 for calling the DomainScalar obj's underlying member method code with example usage: obj.from_sympy(cls, expr) and returns: cls