Esempio n. 1
0
 def test_example2(self):
     import meshy
     with meshy.start_servald('run') as servald:
         for bundle in servald.rhizome:
             print(bundle.service, bundle.filesize)
Esempio n. 2
0
 def test_example1(self):
     import meshy
     with meshy.start_servald('run') as servald:
         bundle = meshy.Bundle(name='README', payload=b'Contents')
         result = servald.rhizome.insert_bundle(bundle)
         print(bundle.id, bundle.version)