structs have been flattened

This commit is contained in:
Nadja Reitzenstein 2022-03-14 00:07:32 +01:00
parent be45aabed7
commit f996d09971

View File

@ -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()