Datasource API

Overview

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.

Usage - List Datasources in the project

import razor
razor.api.datasources()

Usage - Get client of datasources

import razor
razor.api.datasources(name='My S3')

Attributes

Argument Description
name Name of the datasource, as configured by the user in the IDE

Notes

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.