ap-- commented on issue #64861: URL: https://github.com/apache/airflow/issues/64861#issuecomment-4213924905
Very interesting. I believe it's an incorrectly handled edgecase in ty. `upath.extensions.ProxyUPath` is only registered as a virtual subclass of `upath.core.UPath`, which means it does not invoke `UPath.__new__` nor its metaclass's `__call__` method. https://github.com/fsspec/universal_pathlib/blob/main/upath/extensions.py#L595 But I'll have to revisit running ty checks against universal-pathlib itself and verify that ty's new support for metaclass `__call__` interacts correctly with the current type annotations. -- 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]
