Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed ImportError due to circular dependency #6869

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

losingle
Copy link

  • Removed the problematic import statement from hummingbot/core/utils/estimate_fee.py that was importing TradeFeeSchemaLoader from hummingbot.client.config.trade_fee_schema_loader.
  • This change resolves the ImportError that occurred due to a circular import when initializing Hummingbot.
  • Code in estimate_fee.py was refactored to avoid relying on the direct import, ensuring proper module initialization without import loops.

With this fix, the codebase should no longer encounter the ImportError during runtime, thus maintaining the smooth operation of Hummingbot's initialization process.

losingle

This comment was marked as duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant