-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add CLI for database creation, update .gitignore, and remove ol…
…d JSON configs - Introduced a new `cli.py` script using `Click` for creating Notion databases. - Updated `.gitignore` to include the `plugins` directory. - Removed outdated JSON configuration files for client engagement, fashion recommender, and training tasks. - Added new tests for the Notion client, configuration, and model modules. - Refactored Notion API client and configuration loading for better modularity.
- Loading branch information
1 parent
1642c48
commit e892ca2
Showing
23 changed files
with
418 additions
and
1,938 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,5 @@ venv/ | |
# VSCode settings | ||
.vscode/ | ||
|
||
plugins | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import click | ||
from notion_client.api import NotionClient | ||
from notion_client.config import ConfigManager | ||
|
||
@click.group() | ||
def cli(): | ||
pass | ||
|
||
@cli.command() | ||
@click.option('--schema', required=True, help='Schema name without extension.') | ||
@click.option('--tasks', required=True, help='Tasks name without extension.') | ||
def create_database(schema, tasks): | ||
# Implementation as above | ||
pass | ||
|
||
if __name__ == "__main__": | ||
cli() |
This file was deleted.
Oops, something went wrong.
52 changes: 0 additions & 52 deletions
52
config/database_configs/email-capture-validation-task.json
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.