henry3260 commented on code in PR #70453:
URL: https://github.com/apache/airflow/pull/70453#discussion_r3740914228


##########
airflow-ctl/src/airflowctl/api/operations.py:
##########
@@ -264,9 +264,9 @@ def get(self, asset_id: str) -> AssetResponse | 
ServerResponseError:
         self.response = self.client.get(f"assets/{asset_id}")
         return AssetResponse.model_validate_json(self.response.content)
 
-    def get_by_alias(self, alias: str) -> AssetAliasResponse | 
ServerResponseError:
-        """Get an asset by alias from the API server."""
-        self.response = self.client.get(f"assets/aliases/{alias}")
+    def get_alias(self, asset_alias_id: str) -> AssetAliasResponse | 
ServerResponseError:
+        """Get an asset alias from the API server."""

Review Comment:
   ```suggestion
           """Get an asset alias by its ID from the API server."""
   ```



-- 
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