Skip to content
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

✨ Add VidClub source and Prefect tasks #1044

Open
wants to merge 21 commits into
base: 2.0
Choose a base branch
from
Open

Conversation

adrian-wojcik
Copy link
Contributor

Summary

Adding VidClub connector

Importance

To use VidClub in Prefect 2.0

Checklist

This PR:

  • follows the guidelines laid out in CONTRIBUTING.md
  • links relevant issue(s)
  • adds/updates tests (if appropriate)
  • adds/updates docstrings (if appropriate)
  • adds an entry in CHANGELOG.md

@adrian-wojcik adrian-wojcik changed the base branch from main to 2.0 September 20, 2024 08:24
Copy link
Contributor

@trymzet trymzet left a comment

Choose a reason for hiding this comment

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

Some minor changes needed

src/viadot/orchestration/prefect/flows/vid_club_to_adls.py Outdated Show resolved Hide resolved
tests/unit/test_vid_club.py Outdated Show resolved Hide resolved
src/viadot/orchestration/prefect/flows/vid_club_to_adls.py Outdated Show resolved Hide resolved
src/viadot/orchestration/prefect/tasks/vid_club.py Outdated Show resolved Hide resolved
src/viadot/sources/vid_club.py Outdated Show resolved Hide resolved
src/viadot/sources/vid_club.py Outdated Show resolved Hide resolved
src/viadot/sources/vid_club.py Outdated Show resolved Hide resolved
src/viadot/sources/vid_club.py Outdated Show resolved Hide resolved
src/viadot/sources/vid_club.py Outdated Show resolved Hide resolved
src/viadot/sources/vid_club.py Outdated Show resolved Hide resolved
@trymzet trymzet changed the title Vid club 2.0 ✨ Add VidClub source and Prefect tasks Sep 27, 2024
Copy link
Contributor

@trymzet trymzet left a comment

Choose a reason for hiding this comment

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

Same stuff basically

@Rafalz13 Rafalz13 requested a review from trymzet October 1, 2024 07:53
Copy link
Contributor

@trymzet trymzet left a comment

Choose a reason for hiding this comment

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

1 more comment, also:

  • pls address previous feedback as it's not implemented yet
  • I would remove the integration tests as you're mocking the response so they're not really integration tests, or remove the Prefect part and just add the tests as unit

src/viadot/sources/vid_club.py Outdated Show resolved Hide resolved
@Rafalz13 Rafalz13 requested a review from trymzet October 2, 2024 11:45
Copy link
Contributor

@trymzet trymzet left a comment

Choose a reason for hiding this comment

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

One little thing left, already pointed out in #1044 (comment)

Comment on lines 14 to 18
# Configure logging
logging.basicConfig(level=logging.INFO)
logger = logging.getLogger(__name__)


Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
# Configure logging
logging.basicConfig(level=logging.INFO)
logger = logging.getLogger(__name__)

Copy link
Contributor

Choose a reason for hiding this comment

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

Removed

@Rafalz13 Rafalz13 requested a review from trymzet October 2, 2024 14:13
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.

4 participants