Hi everybody,
I am struggling to understand how a script that runs flawlessly in ArcGIS Pro can be flagged as having syntax errors after the publishing process. This inconsistency is both frustrating and highly problematic, as it disrupts workflows and undermines confidence in the publishing system throughout our customers. I believe this situation requires immediate investigation and resolution to ensure a smoother and more reliable user experience.

Thanks,