Skip to content

Commit

Permalink
Update add_equipment_port_type doc
Browse files Browse the repository at this point in the history
Summary:
doc fix

Created from Diffusion's 'Open in Editor' feature.

Reviewed By: vdorfman

Differential Revision: D20589021

fbshipit-source-id: b86850c1ddf4c3e2a3761d8eb5173e30b49a41ab
  • Loading branch information
Naor Matania authored and ssanadhya committed Jun 17, 2020
1 parent 1a907df commit 508327a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions symphony/cli/pyinventory/api/port_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)],
)
```
"""
Expand Down

0 comments on commit 508327a

Please sign in to comment.