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

[Python] Cannot import error class PyDeltaTableError #493

Closed
boonware opened this issue Nov 11, 2021 · 0 comments · Fixed by #496
Closed

[Python] Cannot import error class PyDeltaTableError #493

boonware opened this issue Nov 11, 2021 · 0 comments · Fixed by #496
Labels
bug Something isn't working

Comments

@boonware
Copy link

boonware commented Nov 11, 2021

Environment

Delta-rs version:
0.5.3

Binding:
Python


Bug

What happened:

  1. An error was thrown (cause unimportant):
deltalake.PyDeltaTableError: Not a Delta table ...
  1. I used the error class name from the stacktrace to import that error and catch it:
from deltalake import PyDeltaTableError
  1. My code fails as the error class cannot be imported:
AttributeError: module 'deltalake' has no attribute 'PyDeltaTableError'

What you expected to happen:
I can import the error class and use it in my code.

@boonware boonware added the bug Something isn't working label Nov 11, 2021
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.

1 participant