kapi2289 / vulcan-api

Unofficial UONET+ e-register API
https://vulcan-api.readthedocs.io/
MIT License
72 stars 17 forks source link

AttributeError: 'coroutine' object has no attribute 'as_json' #144

Closed guzik closed 7 months ago

guzik commented 7 months ago

Uruchomienie poniższego kodu powoduje błąd jak w temacie. Python 3.12.2

#!/usr/bin/env python

import vulcan

keystore = vulcan.Keystore.create(device_model="Vulcan API")

with open("keystore.json", "w") as f:
    f.write(keystore.as_json)
guzik commented 7 months ago

Moja wina :/