WhiteApfel/pyQiwiP2P

Ошибка ImportError: cannot import name 'QiwiDatetime' from partially initialized module 'pyqiwip2p.p2p_types'

JustLike420 opened this issue · 1 comments

ImportError: cannot import name 'QiwiDatetime' from partially initialized module 'pyqiwip2p.p2p_types' (most likely due to a circular import) (C:\Users\Vladimir\AppData\Local\Programs\Python\Python38\lib\site-packages\pyqiwip2p\p2p_types_init_.py)

Решил путем изменение файла p2p_types_init_.py
на это.
from pyqiwip2p.p2p_types.qiwi_datetime import *
from pyqiwip2p.p2p_types.custom_fields import *
from pyqiwip2p.p2p_types.customer import *
from pyqiwip2p.p2p_types.errors import *
from pyqiwip2p.p2p_types.responses import *

исправлено в v2.0.5