I think I found a small bug with using `S3PutObjec...
# dev-metaflow
c
I think I found a small bug with using
S3PutObject
in
put_files()
s3.py:1322     isinstance(key_path, tuple)
is true when key_path is an S3PutObject. Here is my fix.
Copy code
for key_path in key_paths:
    if isinstance(key_path, S3PutObject):
       key = key_path.key
       path = key_path.path
    else:
       key = key_path[0]
       path = key_path[1]
v
interesting, thanks! @dry-beach-38304 can you take a look
👍 1
c
I'm running in python 3.11.7