Think I may have found a bug in the implementation...
# ask-community
b
Think I may have found a bug in the implementation of the
FakeADLS2Resource
. It doesn’t work with any operation that requires a lease, as the
DataLakeLeaseClient
object needs a `_blob_client` or `_container_client` to be present, which isn’t on the Fake Blob Client. The error you see is “TypeError: Lease must use any of FileSystemClient DataLakeDirectoryClient, or DataLakeFileClient.“. I would love to have someone double check I am not barking up the wrong tree here though, we are using the
adls2_pickle_io_manager
, and I couldn’t see a test checking that combination
j
thanks for bringing this up! i'll look into it and get a pr up
❤️ 1
b
Just popped an issue in here so it’s easier to track, sorry if it’s a dupe! https://github.com/dagster-io/dagster/issues/7609
j
hi! the fix for this just got merged in, so it will be part of this week's release