amoghrajesh commented on code in PR #46020:
URL: https://github.com/apache/airflow/pull/46020#discussion_r1931999849


##########
task_sdk/src/airflow/sdk/definitions/asset/__init__.py:
##########
@@ -428,6 +429,10 @@ def iter_dag_dependencies(self, *, source: str, target: 
str) -> Iterator[DagDepe
             dependency_id=self.name,
         )
 
+    def asprofile(self) -> AssetProfile:
+        """Profiles Asset to AssetProfile."""

Review Comment:
   Ah yes. Made the change!



##########
tests/api_fastapi/execution_api/routes/test_task_instances.py:
##########
@@ -655,6 +655,40 @@ def 
test_ti_update_state_to_failed_without_retry_table_check(self, client, sessi
         assert ti.next_kwargs is None
         assert ti.duration == 3600.00
 
+    @pytest.mark.parametrize(
+        ("state", "expected_status_code"),
+        [
+            (State.RUNNING, 204),
+            (State.SUCCESS, 409),
+            (State.QUEUED, 409),
+            (State.FAILED, 409),

Review Comment:
   Yeah, can do.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to