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 TM1 source and Prefect tasks #1105

Merged
merged 11 commits into from
Dec 5, 2024
Merged

✨ Add TM1 source and Prefect tasks #1105

merged 11 commits into from
Dec 5, 2024

Conversation

judynah
Copy link

@judynah judynah commented Nov 25, 2024

Summary

TM1 connector migration from viadot 1 to viadot 2.
Update docs in Business Core Prefect task.

Importance

Required by the migration project.

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

@judynah judynah requested a review from trymzet November 25, 2024 13: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.

Added my feedback, overall looks pretty good. I recommend getting familiarized with the concept of pure functions - it would make some of the code cleaner (some of the feedback below is essentially to make the functions pure). Eg. Arjan has a good video on it https://www.youtube.com/watch?v=4B24vYj_vaI

pyproject.toml Outdated Show resolved Hide resolved
src/viadot/orchestration/prefect/tasks/business_core.py Outdated Show resolved Hide resolved
src/viadot/sources/tm1.py Outdated Show resolved Hide resolved
src/viadot/sources/tm1.py Outdated Show resolved Hide resolved
src/viadot/sources/tm1.py Outdated Show resolved Hide resolved
src/viadot/sources/tm1.py Outdated Show resolved Hide resolved
src/viadot/sources/tm1.py Outdated Show resolved Hide resolved
tests/unit/test_tm1.py Outdated Show resolved Hide resolved
tests/unit/test_tm1.py Outdated Show resolved Hide resolved
tests/unit/test_tm1.py Outdated Show resolved Hide resolved
@judynah judynah requested a review from trymzet December 2, 2024 11:54
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.

Just one error in logic; can you pls also rebase?

src/viadot/sources/tm1.py Outdated Show resolved Hide resolved
@judynah judynah force-pushed the tm1 branch 3 times, most recently from 7ed5371 to d19e53f Compare December 4, 2024 15:46
@judynah judynah requested a review from trymzet December 4, 2024 15:59
@trymzet trymzet merged commit 4fe969d into 2.0 Dec 5, 2024
3 checks passed
@trymzet trymzet deleted the tm1 branch December 5, 2024 09:17
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.

2 participants