Open CuboidRaptor opened 1 year ago
Code I used: (reproduce)
import lazy_import ujson = lazy_import.lazy_module("ujson") print(dir(ujson)) # Returns ['__doc__', '__file__', '__loader__', '__name__', '__package__', '__spec__'] ujson.dump() # AttributeError
Ujson when lazy imported is basically blank. This works with many other libraries, just not ujson. Lazy_import version 0.2.2, Windows 10, Python 3.11.4
Code I used: (reproduce)
Ujson when lazy imported is basically blank. This works with many other libraries, just not ujson. Lazy_import version 0.2.2, Windows 10, Python 3.11.4