Circular import issue: ImportError: cannot import name 'product' from partially initialized module 'mindee'
#279
Labels
bug
Something isn't working
Prerequisites
Put an X between the brackets on this line if you have done all of the following:
Description
Version
4.14.1
ofmindee
introduces a circular import issue.Steps to Reproduce
Expected behavior:
A successful import of the
mindee
package.Actual behavior:
Reproduces how often:
100%.
Versions
Python 3.12 on Linux.
Additional Information
We have introduced a caching layer on-top of Mindee in order to reduce duplicate parsings based on checksuming. Up until this point, this was done by mocking out the
requests
package inmindee.mindee_http.endpoint
like this...The new structure of the root
__init__.py
in themindee
package disallows access to this module. I will look into a work-around for this, but I just wanted to mention it here as well until I wait for the circular import issue to be resolved.Thanks in advance, and have a nice weekend!
The text was updated successfully, but these errors were encountered: