I've noticed that when I find the data source for a layer in oracle sde it lists a temporary sde connection in the temp folder:
AppData\Local\Temp\PyCharmPortableTemp\9be82beabe9a88c98b4f87b98e7a56f6.sde
Instead of the actual sde connection that the layer is using.
Is this a normal part of python in ArcGIS Pro or is there a setting someplace that I'm missing?
Thanks
What version of Pro are you using?
In Pro 2.1.2 I see Oracle SDE connections either in default Favorites location:
C:\Users\"User Name"\AppData\Roaming\Esri\ArcGISPro\Favorites
or in the project folder where the aprx is saved (that is project specific) but it's better to use the Favorite Location to share between aprxs.
I'm using 2.1.0. I imported an mxd file into ArcGIS Pro so it should show the sde connections from that.