GSTPy.NetworkInterface.update_moma_property — GSTPy documentation

# GSTPy.NetworkInterface.update_moma_property

`NetworkInterface.``update_moma_property`((NetworkInterface)self, (MoMaPropertyDesc)moma_property[, (str)new_name=''[, (Owner)new_owner=None]]) → MoMaPropertyDesc :

  Update a MoMa property.

  Rename the property or set a new owner.

  Parameters

    - moma_property (MoMaPropertyDesc) – The property to update.

    - new_name (str) –

      The new name.

      If not set, doesn’t update the name.

    - new_owner (Owner) –

      The new owner.

      If not set, doesn’t update the owner.

  Returns

    The updated property description.

  Return type

    MoMaPropertyDesc