pyds.Identifier

class pyds.Identifier(value, validate=True)

Bases: pyds.Scalar

Represents a PDS identifier value.

Parameters
  • value (str)

    Identifier value.

  • validate (True or False)

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

Raises
  • ValueError

    If value is not a valid PDS identifier.

Attributes
value

Special Methods

Identifier.__str__()

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

Called by str().