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

module 'exchange_calendars_extensions' has no attribute 'apply_extensions' #122

Closed
nicholas678 opened this issue Dec 10, 2024 · 1 comment · Fixed by #123
Closed

module 'exchange_calendars_extensions' has no attribute 'apply_extensions' #122

nicholas678 opened this issue Dec 10, 2024 · 1 comment · Fixed by #123
Labels
bug Something isn't working

Comments

@nicholas678
Copy link


AttributeError Traceback (most recent call last)
Cell In[5], line 1
----> 1 ecx.apply_extensions()

AttributeError: module 'exchange_calendars_extensions' has no attribute 'apply_extensions'

@jenskeiner
Copy link
Owner

Thanks for reporting.

Since version 0.5.0, I have split out a core and and API package. Therefore, exchange_ealendars_extensions is only a distribution package. This means that instead of importing from exchange_calendars_extensions, one now needs to import from exchange_calendars_extensions.core. Some classes have been moved to exchange_calendars_extensions.api.

Unfortunately, I forgot to adjust the example code in the README file accordingly.

I will fix the examples and check them again to ensure they all run as expected.

@jenskeiner jenskeiner added the bug Something isn't working label Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants