Skip to content

Commit

Permalink
Update docs/docs-next/docs/guides/data-assets/passing-data-between-as…
Browse files Browse the repository at this point in the history
…sets.md

Co-authored-by: Sean Lopp <[email protected]>
  • Loading branch information
PedramNavid and slopp authored Aug 13, 2024
1 parent 4959e88 commit 8ae090a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ each step would execute in a separate environment and would not have access to t
:::

The `people()` and `birds()` assets both write their dataframes to DuckDB
for persistent storage. The `combined_data()` asset requests data from both assets by adding them as parameters to the function, and the IO Manager handles the reading them from DuckDB and making them available to the `combined_data` function as dataframes.
for persistent storage. The `combined_data()` asset requests data from both assets by adding them as parameters to the function, and the IO Manager handles the reading them from DuckDB and making them available to the `combined_data` function as dataframes. Note that when you use IO Managers you do not need to manually add the asset's dependencies through the `deps` argument.

The benefits of this approach are:
- The reading and writing of data is handled by the IO Manager, reducing boilerplate code
Expand Down

0 comments on commit 8ae090a

Please sign in to comment.