uranusjr commented on code in PR #52703:
URL: https://github.com/apache/airflow/pull/52703#discussion_r2181730792
##########
task-sdk/src/airflow/sdk/definitions/asset/__init__.py:
##########
@@ -186,13 +190,16 @@ def _sanitize_uri(inp: str | ObjectStoragePath) -> str:
def _validate_identifier(instance, attribute, value):
+ is_mysql_backend = "mysql" in SQL_ALCHEMY_CONN
Review Comment:
Maybe something like `SQL_ALCHEMY_CONN.startswith("mysql")`?
(We probably don’t need to be 100% robust here; I don’t think many people
would notice this either way.)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]