https://dagster.io/ logo
#ask-community
Title
# ask-community
b

Billie Thompson

04/26/2022, 1:39 PM
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

jamie

04/26/2022, 1:53 PM
thanks for bringing this up! i'll look into it and get a pr up
❤️ 1
b

Billie Thompson

04/27/2022, 9:25 AM
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

jamie

05/03/2022, 5:04 PM
hi! the fix for this just got merged in, so it will be part of this week's release
2 Views