uranusjr commented on PR #69937:
URL: https://github.com/apache/airflow/pull/69937#issuecomment-5011685912

   If you use an invalid dag id, it would match nothing on the Python (stub) 
side. We can perhaps add some detection logic if you have a potential dag (or 
task) id mismatch between the stub and implementation, but honestly I’m not 
convinced we need to actively check for the character set. Doing this also adds 
the potential that the check may become stale if the allowed character set 
changes (it changed before).
   
   If we really want to checks this, I would want to do this in the dag 
processor, and only in Python (i.e. the JAR or executable needs to send the id 
to Python to be validated, instead of validating directly in the language sdk).


-- 
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]

Reply via email to