Added some comments and basic write support
This commit is contained in:
14
example.py
Normal file
14
example.py
Normal file
@@ -0,0 +1,14 @@
|
||||
from Crx import Connection, get_simple_con
|
||||
|
||||
|
||||
def main():
|
||||
con = get_simple_con()
|
||||
node = con.get_simple_node('/apps/tmp/test')
|
||||
|
||||
with con.start_patch_builder() as ses:
|
||||
node['banana'] = 'asdf'
|
||||
ses.save()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
Reference in New Issue
Block a user