PufferLib
PufferLib copied to clipboard
environment.py lazy_import() Seems to be Unused
https://github.com/PufferAI/PufferLib/blob/6b2cbb995d27b9b7fda30a0f376c4e85e59d5f44/pufferlib/ocean/environment.py#L4
https://github.com/search?q=repo%3APufferAI%2FPufferLib%20lazy_import&type=code
There must be a reason why this was there.
Yeah but the question is if it's a reason that still exists.
Seems like it is needed as you can see here in this commit message:
removed stupid warning by only importing the necessary ocean env
https://github.com/PufferAI/PufferLib/commit/4bcb316d838f1d378503a16cada82268631ee4f2
Is there any reason you think it should be unused when there's an explicit commit to make the import load lazily?