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

compat: psycopg2.extras not available. #124

Open
stuaxo opened this issue Jul 16, 2021 · 0 comments
Open

compat: psycopg2.extras not available. #124

stuaxo opened this issue Jul 16, 2021 · 0 comments

Comments

@stuaxo
Copy link

stuaxo commented Jul 16, 2021

Hi,
A project I'm working on uses some imports from psycopg2.extras, these don't seem to be available in psycopg2cffi
These fail:

from psycopg2.extras import DateRange
from psycopg2.extras import DateTimeRange

Date range extras in psycopg are here
https://github.com/psycopg/psycopg2/blob/1d3a89a0bba621dc1cc9b32db6d241bd2da85ad1/lib/_range.py

Thanks
Stuart

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

No branches or pull requests

1 participant