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
[MAINTENANCE] Placing BigQuery Imports Under Compatibility Pattern #8214
Conversation
try: | ||
from sqlalchemy_bigquery import parse_url | ||
except (ImportError, AttributeError): | ||
parse_url = SQLALCHEMY_BIGQUERY_NOT_IMPORTED | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was the only module that was missing. It was added to compatibility/bigquery.py
from great_expectations.execution_engine import ( | ||
SqlAlchemyExecutionEngine, # noqa: TCH001 | ||
) | ||
from great_expectations.execution_engine.sqlalchemy_dialect import GXSqlDialect | ||
from great_expectations.util import filter_properties_dict | ||
from great_expectations.util import filter_properties_dict, get_sqlalchemy_inspector |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some additional linting was done here.
✅ Deploy Preview for niobium-lead-7998 canceled.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thank you very much!
c7582c8
to
cc3c51a
Compare
bigquery
under Compatibility pattern.compatibility.sqlalchemy_bigquery
is renamed tocompatibility.bigquery
to be consistent with other backendsinvoke lint
(usesblack
+ruff
)For more details, see our Contribution Checklist, Coding style guide, and Documentation style guide.
After you submit your PR, keep the page open and monitor the statuses of the various checks made by our continuous integration process at the bottom of the page. Please fix any issues that come up and reach out on Slack if you need help. Thanks for contributing!