I believe there is an error on the Files v3 code snippet for Python in the API Docs.
The code will throw an error: ImportError: cannot import name ‘ImportFromUrlInput’ from ‘hubspot.files’
The import statement on the documentation reads:
from hubspot.files import ImportFromUrlInput, ApiException
However the file structure is /files/files, so to make it work you have to modify it to:
from hubspot.files.files import ImportFromUrlInput, ApiException
You have to also modify
api_response = **client.files.files.files_api.**import_from_url
Hi @Juanzabala, I hope that you are well!
Thank you for asking the Community and for your valuable feedback!
I understand that you are trying to import a file from a URL into the file manager via API but you mentioned an error in the code provided on the documentation.
I will check this for you internally and let you know if there is any update needed.
Also, if anybody else has anything to add and/or share, please feel free to join in the conversation 
Thanks a lot and have a lovely day!
Best,
Bérangère
Hi @Juanzabala,
Thank you for your patience!
The Team has now updated the code accordingly!
I hope this helps and works for you now.
Have a nice day!
Best,
Bérangère