I have a file geodatabase on a remote desktop with the following layer: r'C:\Folder\Database.gdb\Feature_Dataset\Feature_Class'. If I copy this entire gdb to my local machine, da.Describe does not return the workspace property as it does on the remote desktop.
On the remote desktop:
desc = arcpy.da.Describe(r'C:\...\Folder\Database.gdb\FDataset\Feature_Class')
print('workspace' in desc.keys())
True
On my local desktop:
desc = arcpy.da.Describe(r'C:\...\Folder\Database.gdb\FDataset\Feature_Class')
print('workspace' in desc.keys())
False
This is from the python window in ArcGIS Pro 3.2 on my local desktop, and 3.1 on the remote. It's not just the workspace key that's different, though, and it makes it difficult to write python tools when the keys are different.
Is it because the remote desktop has enterprise? To be clear neither of these are sde databases - they're both file geodatabases.