-
Notifications
You must be signed in to change notification settings - Fork 193
add support for SFTP server #944
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
feat: adding support to sftp server. only test is working currently
Feature/sftp
build: assuming only data are on sftp servers Add Excel files on sftp
|
Hey @simonharrer happy new year 😄 |
| def get_supported_formats(cls): | ||
| return list(map(lambda c: c.value, cls)) | ||
|
|
||
| def setup_sftp_filesystem(url: str): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should not add the function here in the interface.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why was the file mode changed?
| OpenDataContractStandard object | ||
| """ | ||
| if not os.path.exists(excel_file_path): | ||
| if not (excel_file_path.startswith("sftp://") or os.path.exists(excel_file_path)): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the use case for sftp support for the excel importer?
This PR close #852
Sftp is now usable for functions : lint / import / test