I followed the example on https://pypi.org/project/SharePlum/ and executed the folder = site.Folder('Shared Documents/This Folder') statement. I expected an error but instead I got a new folder created on our sharepoint.
It would be great if by default this method would raise an Exception if the user passed a non-existent folder URL instead of creating it.
I can imagine it being some specific functionality of the Sharepoint API itself but I am hopeful ;)
SharePlum is very opinionated in the way it works. Those opinions can be very arbitrary unfortunately. I could add this in, but I have to leave the default as it is now, otherwise it will break for existing users.
I followed the example on https://pypi.org/project/SharePlum/ and executed the
folder = site.Folder('Shared Documents/This Folder')
statement. I expected an error but instead I got a new folder created on our sharepoint.It would be great if by default this method would raise an Exception if the user passed a non-existent folder URL instead of creating it.
I can imagine it being some specific functionality of the Sharepoint API itself but I am hopeful ;)