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

[DEV]: add poe create context/category/command #9

Open
1 of 4 tasks
jjfantini opened this issue Mar 14, 2024 · 0 comments
Open
1 of 4 tasks

[DEV]: add poe create context/category/command #9

jjfantini opened this issue Mar 14, 2024 · 0 comments
Labels
bounty-L a $75 bounty for successful completion of fixing the issue bounty-XL a $100 bounty for successful completion of fixing the issue

Comments

@jjfantini
Copy link
Collaborator

jjfantini commented Mar 14, 2024

Description:

Add a poethepoet command to the package that creates all the necessary base files, classes and functions for a new context/category/command. This poe command should prompt the user for the name of context/category/command to then use that to navigate through the file directory to setup the correct standard_model of QueryParams & Data & Fetcher in the core module.

Refer to this section for more information on the creation logic.

Requirements:

  • If poe create context, the workflow should create a new top-level context module.
    • location of creation: src.humbldata.<context>
  • If poe create category, the workflow should create a new category module, within the specified context module.
    • location of creation: src.humbldata.<context>.<category>
  • If poe create command, the workflow should create a new command module in the appropriate/specified context and category module. It should then finally create a model.py file with a boilerplate def func() in the file.
    • location of creation: src.humbldata.<context>.<category>.<command>.model.py

Bounty XL

  • use GPT-4 to flesh out an initial version of the command, integrated into the poe workflow
@jjfantini jjfantini added bounty-L a $75 bounty for successful completion of fixing the issue bounty-XL a $100 bounty for successful completion of fixing the issue labels Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bounty-L a $75 bounty for successful completion of fixing the issue bounty-XL a $100 bounty for successful completion of fixing the issue
Projects
None yet
Development

No branches or pull requests

1 participant