Survey banner
The Dataiku Community is moving to a new home! New posts are now disabled and the community will shortly be in temporary read only mode: LEARN MORE

Importing developer-certificate from github

ewanharris
Level 1
Importing developer-certificate from github

As part of the developer certification, you're asked to import this GitHub repo into the project libraries: https://github.com/dataiku/academy-samples

The problem is all the folders have hyphens in which ruins the python imports. I created a duplicate folder with the code I needed and a _ instead of - and the import worked fine.

Is there a way to import the original repo into a code recipe maintaining the hyphens or have I missed the point of the task somehow?

0 Kudos
1 Reply
ZachM
Dataiker

Hi @ewanharris,

You don't need to import the entire repository. It's possible to import just a subpath. Please refer to the Concept: Importing Code from a Remote Git Repository section of the Shared Code course if you need a refresher.

Thanks,

Zach