laptop and a wrench

Bug

When using ArcGIS Pro and sharing a project template including a Python toolbox, variables defined with f-string values may be renamed to g_ESRI_variable, potentially introducing errors in the variable values.

ArcGIS Pro
Bug ID Number BUG-000170395
SubmittedAugust 30, 2024
Last ModifiedOctober 31, 2025
Applies toArcGIS Pro
Version found3.3.1
Operating SystemWindows OS
Operating System Version11.0 64 bit
StatusNon-Reproducible

Additional Information

This issue was addressed in ArcGIS Pro 3.5. Packaging and consolidating of f-strings in Python code should be good starting at ArcGIS Pro 3.5. Refer to https://community.esri.com/t5/arcgis-pro-ideas/use-of-f-strings-in-gp-tools-share-as-webtool/idi-p/1473633 for more information.

Workaround

Use concatenated string values utilizing "" and + instead of f-strings, or use ArcGIS Pro 3.2.x.

Steps to Reproduce

Bug ID: BUG-000170395

Software:

  • ArcGIS Pro

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options