I'm trying to speed up an automation script using memory workspaces. When I use "memory\feature_class", it returns that it can't use that workspace. However, "in_memory\feature_class" works exactly like I want.
I'm using Python 3.6 and ArcPro 2.4.2. My IDE recognizes the new format of ArcPy commands, as well. I don't know why it will only recognize the older memory workspace type.