<@ULVA73B9P> - in airflow, you can quickly so the ...
# ask-marvin
k
@Marvin - in airflow, you can quickly so the code for a given dag right in the UI. Is that something that is possible in prefect?
m
First, I'll need to figure out which version of Prefect you're using before diving into that question. Let me find information for both Prefect 2.x and 3.x and provide you with an accurate answer. Be right back, hopefully faster than uploading a DAG! In Prefect, unlike Airflow, you can't directly view the code for a flow in the UI. Instead, the flow code is typically stored outside of Prefect's UI, in locations such as Git-based repositories (like GitHub, GitLab, or Bitbucket), Docker images, or cloud storage (AWS S3, Azure Blob Storage, or GCP GCS). The execution environment needs access to this stored flow code when running a deployment. If you're interested in how flows are stored or managed in Prefect, here are a few resources to guide you: - Prefect 2.x: Flow Code Storage Options - Prefect 3.x: Storing Flow Code So while you can't click a button in the UI to view code, you can have great flexibility in choosing where and how your code is stored and managed. Whether that's as satisfying as Airflow's in-UI display, is a matter of taste, and perhaps a penchant for external versioning control!