diff --git a/docs/uopy._session.html b/docs/uopy._session.html index cef241a..15768bf 100644 --- a/docs/uopy._session.html +++ b/docs/uopy._session.html @@ -104,7 +104,34 @@     DynArray: the value of the @var
 
Raises:
-    UOError +    UOError

+Examples:
+    >>> import uopy
+    >>> for atvar in uopy.AtVar:
+            print(atvar.name, atvar.value)

+    LOG_NAME 1
+    PATH 2
+    USER_NO 3
+    WHO 4
+    TRANSACTION 5
+    DATA_PENDING 6
+    USER_RETURN_CODE 7
+    SYSTEM_RETURN_CODE 8
+    NULL_STR 9
+    SCHEMA 10
+    TRANSACTION_LEVEL 11

+    >>>
+    >>> with uopy.connect(user='test_user', password='test_password') as session:
+            log_name = session.get_atvar(uopy.AtVar.LOG_NAME)
+            account_path = session.get_atvar(uopy.AtVar.PATH)
+            print(log_name)
+            print(account_path)

+    test_user
+    C:\U2\ud82\XDEMO
hard_close(self)
diff --git a/docs/uopy._unirpc.html b/docs/uopy._unirpc.html index ef634ce..2a4976c 100644 --- a/docs/uopy._unirpc.html +++ b/docs/uopy._unirpc.html @@ -105,7 +105,7 @@
write(self, index, data_value)
-
write_char_array(self, index, char_array)
+
write_char_array(self, index, byte_array)

Data descriptors inherited from _UniRPC:
diff --git a/docs/uopy.html b/docs/uopy.html index f84c70d..7c1215f 100644 --- a/docs/uopy.html +++ b/docs/uopy.html @@ -1756,7 +1756,34 @@     DynArray: the value of the @var
 
Raises:
-    UOError +    UOError

+Examples:
+    >>> import uopy
+    >>> for atvar in uopy.AtVar:
+            print(atvar.name, atvar.value)

+    LOG_NAME 1
+    PATH 2
+    USER_NO 3
+    WHO 4
+    TRANSACTION 5
+    DATA_PENDING 6
+    USER_RETURN_CODE 7
+    SYSTEM_RETURN_CODE 8
+    NULL_STR 9
+    SCHEMA 10
+    TRANSACTION_LEVEL 11

+    >>>
+    >>> with uopy.connect(user='test_user', password='test_password') as session:
+            log_name = session.get_atvar(uopy.AtVar.LOG_NAME)
+            account_path = session.get_atvar(uopy.AtVar.PATH)
+            print(log_name)
+            print(account_path)

+    test_user
+    C:\U2\ud82\XDEMO
hard_close(self)