pyds.Text

class pyds.Text(value, validate=True)

Bases: pyds.Scalar

Represents a PDS text value.

Parameters
  • value (str)

    The text value.

  • validate (True or False)

    Whether value should be checked to see if it’s a valid text value.

Raises
  • ValueError

    If validate is True and value is not a valid PDS text value.

Attributes
value

The text value. str instance. Read-only.


Special Methods

Text.__str__()

Return a PDS serialized string (str) representing the object.

Called by str().