arrowhead-f / client-library-python

Arrowhead Client Library in Python
Eclipse Public License 2.0
5 stars 10 forks source link

arrowheadclient/client/core_services.py: ambivalent use of "secure" #41

Closed prillerp closed 1 month ago

prillerp commented 2 months ago

in arrowheadclient/client/core_services.py, two different variables in same namespace have identical name, causing malfunction in INSECURE mode replace def _extract_rule(core_service_tuple, config, secure) -> OrchestrationRule: by def _extract_rule(core_service_tuple, config, secureflag) -> OrchestrationRule:

and secure = constants.Security.SECURE if secure else constants.Security.INSECURE by secure = constants.Security.SECURE if secureflag else constants.Security.INSECURE

prillerp commented 1 month ago

fixed, has been merged with [#42]