laptop and a wrench

Bug

When using the 'Calculate Field' tool with a defined Python function, exporting it as a Python command or as a Python script (from the geoprocessing history) results in improperly formatted code.

Last Published: October 29, 2020 ArcGIS Pro
Bug ID Number BUG-000133981
SubmittedSeptember 21, 2020
Last ModifiedJuly 10, 2025
Applies toArcGIS Pro
Version found2.6.1
Operating SystemN/A
Operating System VersionN/A
Version Fixed2.8
StatusFixed

Steps to Reproduce

Bug ID: BUG-000133981

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