Closed botist closed 3 years ago
Could you provide some context and code which reproduces the error? And what version of the parser are you using?
Edit: I see that you use UnitId, that has been changed to UnitInfo. This indeed is lacking from the docs. (I thought I updated those).
About TS, not sure what is going wrong there. Do share the import statement and some code for that please.
I see now where the mistake happened. The docs for datasets was updated. You can find all info about how the unit datasets work there. I forgot to update the unit dataset docs. I'll update those as soon as I can!
I just released version 0.1.8
which, among other things, fixed the documentation issue
Thank you for the documentation update!
using
from AoE2ScenarioParser.datasets.units import UnitId
gives me an import error, andTS
is undefined