added get_inventory_logs_of_type() to Asset
This commit is contained in:
4
test.py
4
test.py
@@ -1,5 +1,5 @@
|
||||
import neofarm.lib as neo
|
||||
|
||||
if __name__ == "__main__":
|
||||
log = neo.Log.Seeding.get_list()[1]
|
||||
print(log.notes)
|
||||
log = neo.Log.Input.from_id("d2e78314-730c-47ae-a0b4-aff42025475e")
|
||||
print(log.quantities[0].inventory_asset.get_inventory_logs_of_type(neo.Log.Purchase)[0].name)
|
||||
Reference in New Issue
Block a user