Skip to content

Commit

Permalink
#135 Update BUILD_OUT_DEGREES (#145)
Browse files Browse the repository at this point in the history
* #135 Change variable name

* #135 Change variable name
  • Loading branch information
docktermj authored Oct 31, 2024
1 parent 452530d commit f5e064c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ and this project adheres to [Semantic Versioning].
### Changed in 0.3.2

- Update dependencies
-

## [0.3.1] - 2024-10-28

Expand Down
4 changes: 2 additions & 2 deletions examples/szengine/find_network_by_entity_id.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
SzError,
)

BUILD_OUT_DEGREE = 1
BUILD_OUT_DEGREES = 1
ENTITY_LIST = [1, 35]
FACTORY_PARAMETERS: SzAbstractFactoryParameters = {
"grpc_channel": grpc.insecure_channel("localhost:8261"),
Expand All @@ -22,7 +22,7 @@
sz_abstract_factory = SzAbstractFactory(**FACTORY_PARAMETERS)
sz_engine = sz_abstract_factory.create_sz_engine()
RESULT = sz_engine.find_network_by_entity_id(
ENTITY_LIST, MAX_DEGREES, BUILD_OUT_DEGREE, MAX_ENTITIES, FLAGS
ENTITY_LIST, MAX_DEGREES, BUILD_OUT_DEGREES, MAX_ENTITIES, FLAGS
)
print(f"\nFile {__file__}:\n{RESULT}\n")
except SzError as err:
Expand Down
4 changes: 2 additions & 2 deletions examples/szengine/find_network_by_record_id.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
SzError,
)

BUILD_OUT_DEGREE = 1
BUILD_OUT_DEGREES = 1
FACTORY_PARAMETERS: SzAbstractFactoryParameters = {
"grpc_channel": grpc.insecure_channel("localhost:8261"),
}
Expand All @@ -22,7 +22,7 @@
sz_abstract_factory = SzAbstractFactory(**FACTORY_PARAMETERS)
sz_engine = sz_abstract_factory.create_sz_engine()
RESULT = sz_engine.find_network_by_record_id(
RECORD_LIST, MAX_DEGREES, BUILD_OUT_DEGREE, MAX_ENTITIES, FLAGS
RECORD_LIST, MAX_DEGREES, BUILD_OUT_DEGREES, MAX_ENTITIES, FLAGS
)
print(f"\nFile {__file__}:\n{RESULT}\n")
except SzError as err:
Expand Down

0 comments on commit f5e064c

Please sign in to comment.