The Prefect 2.x documentation doesn't explicitly mention a way to remove or disable introspection for subflows. Subflows in Prefect are designed to have first-class observability, similar to main flows, which means their status and details are readily available in the Prefect UI and Prefect Cloud. This feature is intended to enhance monitoring and debugging capabilities.
If you're looking to reduce the visibility or introspection of a subflow for any reason, you might need to look into customizing logging levels or modifying how you handle flow runs programmatically, but there is no direct mention of disabling introspection.
For more details on subflows, you can refer to the
Prefect 2.x documentation on flows.