diff --git a/symphony/cli/pyinventory/api/port_type.py b/symphony/cli/pyinventory/api/port_type.py index d66e03083e79..c0d0229bfa7c 100644 --- a/symphony/cli/pyinventory/api/port_type.py +++ b/symphony/cli/pyinventory/api/port_type.py @@ -52,10 +52,11 @@ def add_equipment_port_type( Example: ``` from pyinventory.consts import PropertyDefinition + from pyinventory.graphql.property_kind_enum import PropertyKind port_type1 = client.add_equipment_port_type( "port type 1", - [PropertyDefinition("port property", "string", None, True)], - [PropertyDefinition("link port property", "string", None, True)], + [PropertyDefinition("port property", PropertyKind.string, None, True)], + [PropertyDefinition("link port property", PropertyKind.string, None, True)], ) ``` """