File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
src/ansys/edb/core/definition Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ build-backend = "flit_core.buildapi"
5
5
[project ]
6
6
# Check https://flit.readthedocs.io/en/latest/pyproject_toml.html for all available sections
7
7
name = " ansys-edb-core"
8
- version = " 0.2.0.dev4 "
8
+ version = " 0.2.0.dev5 "
9
9
description = " A python wrapper for Ansys Edb service"
10
10
readme = " README.rst"
11
11
requires-python = " >=3.8"
Original file line number Diff line number Diff line change 10
10
from ansys .api .edb .v1 .io_component_property_pb2_grpc import IOComponentPropertyServiceStub
11
11
import google .protobuf .empty_pb2 as empty_pb2
12
12
13
- from ansys .edb .core .definition import component_property , solder_ball_property
13
+ from ansys .edb .core .definition import component_property , port_property , solder_ball_property
14
14
from ansys .edb .core .inner import messages
15
15
from ansys .edb .core .session import StubAccessor , StubType
16
16
@@ -53,7 +53,9 @@ def port_property(self) -> PortProperty:
53
53
54
54
A copy is returned. Use the setter for any modifications to be reflected.
55
55
"""
56
- return PortProperty (self .__stub .GetPortProperty (messages .edb_obj_message (self )))
56
+ return port_property .PortProperty (
57
+ self .__stub .GetPortProperty (messages .edb_obj_message (self ))
58
+ )
57
59
58
60
@port_property .setter
59
61
def port_property (self , value : PortProperty ):
You can’t perform that action at this time.
0 commit comments