Skip to content

[Bugfix Docs]: Custom Callback Example Corrected#1747

Merged
pankajkoti merged 1 commit into
astronomer:mainfrom
walter9388:bugfix-docs-callbacks-example
May 6, 2025
Merged

[Bugfix Docs]: Custom Callback Example Corrected#1747
pankajkoti merged 1 commit into
astronomer:mainfrom
walter9388:bugfix-docs-callbacks-example

Conversation

@walter9388

Copy link
Copy Markdown
Contributor

A minor change to the custom callback example in the docs here: https://astronomer.github.io/astronomer-cosmos/configuration/callbacks.html#custom-callbacks:

  1. The run_results.json artifact is in the target directory, not the project directory.
  2. The results (at least in version dbt-core=1.9.4) is a list in a results node, not a value in the root object.

@dosubot dosubot Bot added the size:S This PR changes 10-29 lines, ignoring generated files. label May 6, 2025
@netlify

netlify Bot commented May 6, 2025

Copy link
Copy Markdown

Deploy Preview for sunny-pastelito-5ecb04 ready!

Name Link
🔨 Latest commit 18fc1ef
🔍 Latest deploy log https://app.netlify.com/sites/sunny-pastelito-5ecb04/deploys/681a12efcae193000802f5b2
😎 Deploy Preview https://deploy-preview-1747--sunny-pastelito-5ecb04.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@dosubot dosubot Bot added the area:docs Relating to documentation, changes, fixes, improvement label May 6, 2025

@pankajkoti pankajkoti left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for fixing this @walter9388

@pankajkoti pankajkoti merged commit 21a2f13 into astronomer:main May 6, 2025
36 of 37 checks passed
@tatiana tatiana added this to the Cosmos 1.10.1 milestone May 20, 2025
pankajkoti pushed a commit that referenced this pull request May 21, 2025
A minor change to the custom callback example in the docs here:
https://astronomer.github.io/astronomer-cosmos/configuration/callbacks.html#custom-callbacks:

1. The `run_results.json` artifact is in the target directory, not the
project directory.
2. The results (at least in version `dbt-core=1.9.4`) is a list in a
`results` node, not a value in the root object.

(cherry picked from commit 21a2f13)
pankajkoti added a commit that referenced this pull request May 21, 2025
Bug Fixes

* Fix ``full_refresh`` parameter in ``AIRFLOW_ASYNC``
``ExecutionConfig`` mode by @tuantran0910 in #1738
* Fix dbt ls invocation method log message by @tatiana and @dstandish in
#1749
* Ensure remote target directory is created when copying files when
using local directory by @tuantran0910 and @corsettigyg in #1740
* Support custom ``packages-install-path`` by @tatiana in #1768
* Disable dbt static parser during Airflow task execution using dbt
runner by @pankajkoti and @tatiana in #1760
* Fix ``ExecutionMode.LOCAL`` to leverage
``ProjectConfig.manifest_path`` by @tatiana in #1772
* Refactor ``AIRFLOW_ASYNC`` so that the path in the remote object store
is specific per DAG run by @tuantran0910 in #1741
* Optimise memory usage with optional explicit imports by @pankajkoti
and @tatiana in #1769

Documentation

* Fix documentation rendering for ``use_dataset_airflow3_uri_standard``
by @pankajastro in #1742
* Correct custom callback example by @walter9388 in #1747

Others

* Re-enable integration tests durations to troubleshoot performance
degradation by @tatiana in #1735
* Run listener tests for Airflow 3 by @pankajastro in #1743
* Add Airflow 3 db files to ignore from git tracking by @pankajkoti in
#1755
* Log contents of ``packages.yml`` when
``AIRFLOW__LOGGING__LOGGING_LEVEL=DEBUG`` by @tatiana in #1764
* Fix Airflow dependencies in the CI by @tatiana in #1773
* Pre-commit updates: #1744, #1765, #1770
pankajkoti added a commit that referenced this pull request May 21, 2025
Bug Fixes

* Fix ``full_refresh`` parameter in ``AIRFLOW_ASYNC``
``ExecutionConfig`` mode by @tuantran0910 in #1738
* Fix dbt ls invocation method log message by @tatiana and @dstandish in
#1749
* Ensure remote target directory is created when copying files when
using local directory by @tuantran0910 and @corsettigyg in #1740
* Support custom ``packages-install-path`` by @tatiana in #1768
* Disable dbt static parser during Airflow task execution using dbt
runner by @pankajkoti and @tatiana in #1760
* Fix ``ExecutionMode.LOCAL`` to leverage
``ProjectConfig.manifest_path`` by @tatiana in #1772
* Refactor ``AIRFLOW_ASYNC`` so that the path in the remote object store
is specific per DAG run by @tuantran0910 in #1741
* Optimise memory usage with optional explicit imports by @pankajkoti
and @tatiana in #1769

Documentation

* Fix documentation rendering for ``use_dataset_airflow3_uri_standard``
by @pankajastro in #1742
* Correct custom callback example by @walter9388 in #1747

Others

* Re-enable integration tests durations to troubleshoot performance
degradation by @tatiana in #1735
* Run listener tests for Airflow 3 by @pankajastro in #1743
* Add Airflow 3 db files to ignore from git tracking by @pankajkoti in
#1755
* Log contents of ``packages.yml`` when
``AIRFLOW__LOGGING__LOGGING_LEVEL=DEBUG`` by @tatiana in #1764
* Fix Airflow dependencies in the CI by @tatiana in #1773
* Pre-commit updates: #1744, #1765, #1770


---------

(cherry picked from commit 430be00)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:docs Relating to documentation, changes, fixes, improvement size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants