This is an automated email from the ASF dual-hosted git repository.
shahar1 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new db06a68a791 Remove unused Dag processor path converter (#75776)
db06a68a791 is described below
commit db06a68a7917da7d70c7b5e7cda6e1808a7e8cc7
Author: Hussein Awala <[email protected]>
AuthorDate: Tue Oct 27 22:05:22 2026 +0100
Remove unused Dag processor path converter (#75776)
The former attrs converter has no callers or field registrations. Dag file
information now uses a dataclass, so this helper only adds unused maintenance
surface.
---
airflow-core/src/airflow/dag_processing/manager.py | 6 ------
1 file changed, 6 deletions(-)
diff --git a/airflow-core/src/airflow/dag_processing/manager.py
b/airflow-core/src/airflow/dag_processing/manager.py
index a150b4c1fba..b2df65ece06 100644
--- a/airflow-core/src/airflow/dag_processing/manager.py
+++ b/airflow-core/src/airflow/dag_processing/manager.py
@@ -161,12 +161,6 @@ def _config_get_factory(section: str, key: str):
return functools.partial(conf.get, section, key)
-def _resolve_path(instance: Any, attribute: attrs.Attribute, val: str |
os.PathLike[str] | None):
- if val is not None:
- val = Path(val).resolve()
- return val
-
-
def utc_epoch() -> datetime:
# pendulum utcnow() is not used as that sets a TimezoneInfo object
# instead of a Timezone. This is not picklable and also creates issues