Skip to content

Python files being to converted to notebooks when using Databricks CLI #685

@sachamourier96

Description

@sachamourier96

Hello,
I am using the attached piece of code to import both notebooks and python files from my git repo, and am writing them to a Workspace folder. However, when running the attached code, all of my Python files get converted to notebooks, which is not what I want. I have tried several approaches but still cannot manage to make it work.
Has someone found a way to avoid this convertion? I want my Python files to remain Python files to be able to use them as Python modules.
Thanks a lot in advance,
Sacha

Screenshot 2024-09-22 111325

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions