Ben Hammond
Ben Hammond
Bug Fix: "Samba Share (using straight RemoteFileSystem block) does not accept the keyword overwrite"
> Thanks a ton for the thorough write-up and QA! I want to speak with somebody more familiar with blocks just to make sure that I'm not missing context on...
Bug Fix: "Samba Share (using straight RemoteFileSystem block) does not accept the keyword overwrite"
Btw -- Rereading your comment makes me realize that I have some level of context to offer (obviously not the whole picture). The original default was deeper inside the RemoteFileSystem.put_directory...
Bug Fix: "Samba Share (using straight RemoteFileSystem block) does not accept the keyword overwrite"
If there is a concern that some users have already created custom blocks around RemoteFileSystem that depend on the "overwrite=True", the parameter could always be hoisted further up into the...
Bug Fix: "Samba Share (using straight RemoteFileSystem block) does not accept the keyword overwrite"
Sounds good -- makes perfect sense that it'd be something to thoroughly think through. I'll sit tight.
Not sure if this is an abandoned idea, but it would be a useful feature to have.
> You can also try `Union[EmailStr, Literal[""]]` Thanks. This worked for me when I ran into `Optional[EmailStr]` functioning differently than I expected.
If you are trying to use this for deployment storage, give the SMB block a try. ```python from prefect.filesystems import SMB smb = SMB( share_path='/SHARE/path_dir/path_dir/', smb_host='server.dom', smb_username='', smb_password='', ) smb.save("smb-storage",...
As far as the `overwrite=True` parameter introduced by the Azure Block is concerned. With the SMB Block PR an `overwrite` parameter was introduced to `RemoteFileSystems.put_directory()` because of the specific limitation...
I'm seeing this too.
I ran into this too, and only found the answer here after searching for a long time.