- 20 Jul, 2020 3 commits
-
-
Andreas Heine authored
-
Andreas Heine authored
-
Andreas Heine authored
``` async def set_modelling_rule(self, mandatory: bool): """ Add a modelling rule reference to Node. When creating a new object type, its variable and child nodes will not be instanciated if they do not have modelling rule if mandatory is None, the modelling rule is removed """ # remove all existing modelling rule rules = await self.get_references(ua.ObjectIds.HasModellingRule) await self.server.delete_references(list(map(self._fill_delete_reference_item, rules))) # add new modelling rule as requested if mandatory is not None: rule = ua.ObjectIds.ModellingRule_Mandatory if mandatory else ua.ObjectIds.ModellingRule_Optional await self.add_reference(rule, ua.ObjectIds.HasModellingRule, True, False) ``` old: `if mandatory is not None:` new: `if mandatory is not None and not False:` would be more userfriendly!? node.set_modelling_rule(None) #not mandatory node.set_modelling_rule(False) #not mandatory node.set_modelling_rule(True) #mandatory!
-
- 17 Jul, 2020 1 commit
-
-
Ophir LOJKINE authored
Fixes #236
-
- 10 Jul, 2020 1 commit
-
-
Andreas Heine authored
-
- 08 Jul, 2020 1 commit
-
-
Andreas Heine authored
#230
-
- 04 Jul, 2020 1 commit
-
-
oroulet authored
-
- 29 Jun, 2020 1 commit
-
-
Andreas Heine authored
-
- 27 Jun, 2020 1 commit
-
-
Andreas Heine authored
-
- 20 Jun, 2020 2 commits
-
-
Fabian Beitler authored
-
Fabian Beitler authored
Remove unused import statements Make code more PEP8 conform
-
- 19 Jun, 2020 2 commits
-
-
Joey Faulkner authored
-
Joey Faulkner authored
-
- 18 Jun, 2020 1 commit
-
-
Igor Nehoroshev authored
-
- 17 Jun, 2020 9 commits
-
-
Stephen Dawson-Haggerty authored
-
Stephen Dawson-Haggerty authored
-
Andreas authored
-
Andreas authored
-
Andreas authored
-
Andreas authored
-
Andreas authored
-
Andreas authored
-
Andreas authored
-
- 11 Jun, 2020 1 commit
-
-
JoeyFaulkner authored
* getting started * remove ridiculous change to generated code * remove ridiculous change to generated code * checkpoint * another checkpoint * found the error, tests now pass * improve error when person with incorrect credentials tries to connect * add better error handling for when a user does something they aren't permitted to do * pass tests * add tests for simple permissions * add third certificate and some documentation * clean up pull request * remove pointless import * hopefully pass tests * implement changes requested * add dataclasses to requirements for python 3.6 * put dataclasses in the travis file instead of the dev_requirements.txt * implement user manager in iserver instead of using the certificate handler * uncomment some code * add permissions=None to base security policy object * pass crypto connect tests * fix tests * hopefully pass all the tests now * actually pass tests this time * remove certificate handler and deal with permissions exclusively with CertificateUserManager * remove commented out code
-
- 10 Jun, 2020 1 commit
-
-
Fabian Beitler authored
Async call method in internal_session Async history_read method in internal_session Async get_endpoints method in server Async delete_nodes method in server and client Async load_enums in server and client Async stop method in HistoryManager class Async load_type_definitions method in server and Client Async import_xml in server and Client
-
- 27 May, 2020 2 commits
- 16 May, 2020 3 commits
- 11 May, 2020 1 commit
-
-
JoeyFaulkner authored
* fix authenticating server example * certificate handling working, tests required * add tests * add example certificates and remove some useless code * add client-with-encryption.py to connect with server-with-encryption
-
- 10 May, 2020 1 commit
-
-
oroulet authored
-
- 09 May, 2020 8 commits