Skip to content

refactor: use with statement for file reading#2740

Merged
denik merged 2 commits intodatabricks:mainfrom
allrob23:patch-file
May 7, 2025
Merged

refactor: use with statement for file reading#2740
denik merged 2 commits intodatabricks:mainfrom
allrob23:patch-file

Conversation

@allrob23
Copy link
Copy Markdown
Contributor

Changes

This PR updates the file reading logic to use a with statement, aligning with Python best practices for resource management. is a minor change but ensures consistency with the project standard, as other parts already use with statements.

@andrewnester
Copy link
Copy Markdown
Contributor

Hi @allrob23 ! Thanks for your contribution. First-time contributors are required to sign CLA in order for their change to be accepted. If this is something you're willing to do, please reach out to dabs-feedback@databricks.com and we'll take it from there.

Thank you!

@allrob23
Copy link
Copy Markdown
Contributor Author

Hi @andrewnester, I just sent the email.

@allrob23
Copy link
Copy Markdown
Contributor Author

allrob23 commented May 5, 2025

Hi @andrewnester, just dropping by to let you know that I signed the CLA

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 7, 2025

An authorized user can trigger integration tests manually by following the instructions below:

Trigger:
go/deco-tests-run/cli

Inputs:

  • PR number: 2740
  • Commit SHA: 3f1c9efcc8e2c3132c36d1ab781d3e419d4d4c87

Checks will be approved automatically on success.

@denik denik disabled auto-merge May 7, 2025 10:45
@denik denik merged commit 0d5f9db into databricks:main May 7, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants