bolkedebruin commented on PR #35612:
URL: https://github.com/apache/airflow/pull/35612#issuecomment-1810331858
> I wonder if we should just name it `Path` and make the name importable
from `airflow.io`, the import namespace works as disambiguation on its own for
most use cases:
>
> ```python
> import airflow.io
>
> path = airflow.io.Path("s3://...")
> # This is already shorter than ObjectStoragePath and CloudStorage!
> ```
>
> and if that’s still not good enough people can call it whatever they want
on import time.
>
> I don’t have specific thoughts otherwise on this except maybe we want to
mark the entire `airflow.io` and `airflow.providers.common.fs` as experimental
for a while.
Haha: https://www.karlton.org/2017/12/naming-things-hard/
I like `Path` but that does seem to make it more generic, i.e. less specific
to object storage
--
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]