Skip to content

Changes logger statement to print statement Issue #558#559

Merged
KevinShuman merged 1 commit intoCloud-Drift:mainfrom
KevinShuman:558-temp-print
May 23, 2025
Merged

Changes logger statement to print statement Issue #558#559
KevinShuman merged 1 commit intoCloud-Drift:mainfrom
KevinShuman:558-temp-print

Conversation

@KevinShuman
Copy link
Copy Markdown
Collaborator

This PR address the want to have a print statement in the gdp1h adapter that prints the temporary directory.

@selipot selipot requested a review from Copilot May 23, 2025 15:30
@selipot selipot added the enhancement New feature or request label May 23, 2025
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR changes a logger debug message to a print statement in the gdp1h adapter to print the temporary directory.

  • Changed _logger.debug call to print to display URL and temporary directory information
  • The modification ensures that the temporary directory is printed directly to stdout
Comments suppressed due to low confidence (1)

clouddrift/adapters/gdp/gdp1h.py:83

  • Using a print statement bypasses the structured logging system which may affect production diagnostics; ensure that this change aligns with the overall logging strategy for the application.
print(f"Downloading GDP hourly data from ({url}) to ({tmp_path})")

@codecov
Copy link
Copy Markdown

codecov bot commented May 23, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@selipot selipot self-requested a review May 23, 2025 15:35
@selipot
Copy link
Copy Markdown
Member

selipot commented May 23, 2025

Looks like it's doing what it needs to do!

@KevinShuman KevinShuman merged commit dcf8d98 into Cloud-Drift:main May 23, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants