mirror of
https://github.com/FreeOpcUa/opcua-asyncio
synced 2025-10-29 17:07:18 +08:00
* replaced os.path with pathlib.Path * fixed some type hinting; added FIXME for critical vulnerability * added string and path support for certificate paths because path only broke the API. BUT we should stop using strings for paths in the future.. --------- Co-authored-by: ratara <noreply>
13 lines
188 B
Python
Executable File
13 lines
188 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
import sys
|
|
from pathlib import Path
|
|
|
|
sys.path.append(f'{Path(__file__).parent.parent}')
|
|
|
|
from asyncua.tools import uaread
|
|
|
|
|
|
if __name__ == "__main__":
|
|
uaread()
|