Closed polux0 closed 5 months ago
[!WARNING]
Rate Limit Exceeded
@amindadgar has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 19 minutes and 11 seconds before requesting another review.
How to resolve this issue?
After the wait time has elapsed, a review can be triggered using the `@coderabbitai review` command as a PR comment. Alternatively, push new commits to this PR. We recommend that you space out your commits to avoid hitting the rate limit.How do rate limits work?
CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our [FAQ](https://coderabbit.ai/docs/faq) for further information.Commits
Files that changed from the base of the PR and between 008b5fe69247373f88e4ffc19f6ab1fcad152464 and ab87f3a769d7125c05fe8bfd8853766d96470e85.
The update brings significant improvements to the ETL pipeline, focusing on enhancing Notion and Google Drive integrations. It includes new DAGs for processing Notion data, adjustments to the ModulesBase
class for platform-specific token retrieval, and extensive test coverage. These changes aim to enhance data management, refine token handling, and streamline ETL processes with automated code formatting and linting configurations.
Files/Paths | Change Summary |
---|---|
.vscode/settings.json |
Enabled linting with flake8, set 'black' as the code formatter, and auto-format on save for Python. |
dags/hivemind_etl_helpers/src/utils/modules/notion.py |
Introduced ModulesNotion class with methods for retrieving Notion communities' data. |
dags/hivemind_etl_helpers/src/utils/modules/gdrive.py |
Modified get_token function call parameters for Google Drive integration. |
dags/hivemind_etl_helpers/src/utils/modules/modules_base.py |
Updated get_token method to accept platform_id and added _get_platform_userid method. |
dags/hivemind_notion_etl.py |
Introduced a new DAG for Notion ETL, scheduled daily at 4:00 AM. |
dags/hivemind_etl_helpers/notion_etl.py |
Added process_notion_etl function for extracting and storing Notion data in PostgreSQL. |
dags/hivemind_etl_helpers/tests/integration/... |
Added and updated test cases for Notion and Google Drive data retrieval and token management. |
In code we trust, to fetch and store, Notion's secrets, and much more. With tokens clear and tests so bright, Our ETL runs through the night. Data flows, a seamless stream, In every byte, we chase the dream.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
Bug Fixes
platform_id
instead ofuser
for better accuracy.Tests
Chores