The datasource API provide the users with the capability to connect to the external datasources. The users can place data in external datasources like HDFS, S3, SFTP, etc. and connect to these datasource within the platform to access the data. This eliminates the need for the user to physically move the data over to the platform.
import razor
razor.api.datasources()
import razor
razor.api.datasources(name='My S3')
Argument | Description |
---|---|
name | Name of the datasource, as configured by the user in the IDE |
The user would have to setup the datasource at the project level using the IDE, before the user can access the datasource through the SDK.