cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Get Started Discussions
Start your journey with Databricks by joining discussions on getting started guides, tutorials, and introductory topics. Connect with beginners and experts alike to kickstart your Databricks experience.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Search page to search code inside .py files

BigAlThePal
New Contributor III

Hello, hope you are doing good.
When on the search page, it seems it's not searching for code inside .py files but rather only the filename.

Is there an option somewhere I'm missing to be able to search inside .py files ?

 

Best,
Alan

1 ACCEPTED SOLUTION

Accepted Solutions

BigAlThePal
New Contributor III

Hello, so it seems Databricks does not allow it - an easy workaround for us is to search directly on our Azure DevOps Repos.

View solution in original post

2 REPLIES 2

SP_6721
Honored Contributor

Hi @BigAlThePal 

As per my understanding, there isnโ€™t a built-in option in the Databricks workspace to search inside .py files directly.

You could try a few workarounds though, like using the Databricks REST API to list .py files and programmatically search through their content. Another option is to use Databricks Repos and then use an external editor for more powerful search across your codebase.

BigAlThePal
New Contributor III

Hello, so it seems Databricks does not allow it - an easy workaround for us is to search directly on our Azure DevOps Repos.