kaxil commented on code in PR #60519:
URL: https://github.com/apache/airflow/pull/60519#discussion_r2690344793
##########
task-sdk/src/airflow/sdk/io/path.py:
##########
@@ -199,16 +199,12 @@ def replace(self, target) -> ObjectStoragePath:
return self.rename(target)
@classmethod
- def cwd(cls):
- if cls is ObjectStoragePath:
- return get_upath_class("").cwd()
- raise NotImplementedError
+ def cwd(cls) -> Self: # type: ignore[override]
Review Comment:
Let's not add type ignore -- figure out how to fix those
--
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]