class_docstr: Accept Python ``set()`` values.
  
      
class_docstr_tok: ["Accept","Python","``","set","(",")","``","values","."]
docstr: Some property types need to wrap their values in special containers, etc. 
docstr_tok: ["Some","property","types","need","to","wrap","their","values","in","special","containers",",","etc","."]
code: def wrap(self, value: set[T]) -> PropertyValueSet[T]:
      """Some property types need to wrap their values in special containers, etc."""
      if isinstance(value, set):
          if isinstance(value, PropertyValueSet):
              return value
          else:
              return PropertyValueSet(value)
      else:
          return value
  
imports: from __future__ import annotations
  import logging
  from collections.abc import Container, Iterable, Mapping, Sequence, Sized
  from typing import TYPE_CHECKING, Any, TypeVar
  from ._sphinx import property_link, register_type_link, type_link
  from .bases import ContainerProperty, Init, Property, SingleParameterizedProperty, TypeOrInst
  from .descriptors import ColumnDataPropertyDescriptor
  from .enum import Enum
  from .numeric import Int
  from .singletons import Intrinsic, Undefined
  from .wrappers import PropertyValueColumnData, PropertyValueDict, PropertyValueList, PropertyValueSet
label_desc: Use image node_id 2 for calling the Set obj's underlying member method code with example usage: obj.wrap(value) and returns: value, value, PropertyValueSet