The project space is a default data source provided by the platform, which the users can use to store data needed for the projects. The Project Space Path API, provides the mechanism to access the data present in Project Space in both at the Jupyter Notebook and at the engine.
import razor
razor.api.project_space_path('/')
Argument | Description |
---|---|
path | Relative path of the file that has to be resolved. |
The Project Space Path API will have to used within the blocks. Any usage of the Project Space Path outside the block will resolve the file path at the Jupyter level, and wouldn't be able to use it in the engine.