mirror of
https://gitlab.com/fabinfra/fabaccess/pyfabapi.git
synced 2025-03-12 06:41:42 +01:00
structs have been flattened
This commit is contained in:
parent
be45aabed7
commit
f996d09971
2
test.py
2
test.py
@ -6,7 +6,7 @@ async def main():
|
|||||||
session = await fabapi.connect("localhost", 59661, "Testuser", "secret")
|
session = await fabapi.connect("localhost", 59661, "Testuser", "secret")
|
||||||
info = await session.machineSystem.info().a_wait()
|
info = await session.machineSystem.info().a_wait()
|
||||||
ma = await info.info.getMachineURN("urn:fabaccess:resource:Another").a_wait()
|
ma = await info.info.getMachineURN("urn:fabaccess:resource:Another").a_wait()
|
||||||
print(ma.machine)
|
print(ma)
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
loop = asyncio.get_event_loop()
|
loop = asyncio.get_event_loop()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user