Skip to content

refactor: use with statement for file reading #2740

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 7, 2025

Conversation

allrob23
Copy link
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
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
Contributor Author

Hi @andrewnester, I just sent the email.

@allrob23
Copy link
Contributor Author

allrob23 commented May 5, 2025

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

Copy link

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