Skip to content
This repository was archived by the owner on Feb 22, 2026. It is now read-only.

feat: add /generate endpoint with tests#532

Merged
tosoham merged 8 commits into
Shonen-Labs:mainfrom
Rootarjun:main
Aug 29, 2025
Merged

feat: add /generate endpoint with tests#532
tosoham merged 8 commits into
Shonen-Labs:mainfrom
Rootarjun:main

Conversation

@Rootarjun
Copy link
Copy Markdown
Contributor

@Rootarjun Rootarjun commented Aug 28, 2025

Fixes #514

  • Added /generate POST endpoint to create and store generated contracts
  • Created GeneratedContract model with title, content, metadata, and timestamps
  • Integrated DB session handling

@vercel
Copy link
Copy Markdown

vercel Bot commented Aug 28, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
stark-finder-mq45 Ready Ready Preview Comment Aug 29, 2025 1:56pm

Comment thread py-be/app/models/base.py Outdated
Comment thread py-be/tests/conftest.py Outdated
Copy link
Copy Markdown
Contributor

@tosoham tosoham left a comment

Choose a reason for hiding this comment

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

LGTM

@tosoham tosoham merged commit d8206d0 into Shonen-Labs:main Aug 29, 2025
4 of 5 checks passed
tosoham added a commit to Srimoyee2005/StarkFinder that referenced this pull request Aug 30, 2025
* feat: add /generate endpoint with tests

* Update base.py

* Update conftest.py

* fix testing

* fix linting

* fix sorting of imports

* fix black linting

* added .isort.cfg so .pre-commit can see pyproject.toml

---------

Co-authored-by: Odinson <bpoulav@gmail.com>
Co-authored-by: tosoham <todrsoham@gmail.com>
tosoham added a commit to Srimoyee2005/StarkFinder that referenced this pull request Aug 30, 2025
* feat: add /generate endpoint with tests

* Update base.py

* Update conftest.py

* fix testing

* fix linting

* fix sorting of imports

* fix black linting

* added .isort.cfg so .pre-commit can see pyproject.toml

---------

Co-authored-by: Odinson <bpoulav@gmail.com>
Co-authored-by: tosoham <todrsoham@gmail.com>
tosoham added a commit to Srimoyee2005/StarkFinder that referenced this pull request Aug 30, 2025
* feat: add /generate endpoint with tests

* Update base.py

* Update conftest.py

* fix testing

* fix linting

* fix sorting of imports

* fix black linting

* added .isort.cfg so .pre-commit can see pyproject.toml

---------

Co-authored-by: Odinson <bpoulav@gmail.com>
Co-authored-by: tosoham <todrsoham@gmail.com>
tosoham added a commit to Srimoyee2005/StarkFinder that referenced this pull request Aug 30, 2025
* feat: add /generate endpoint with tests

* Update base.py

* Update conftest.py

* fix testing

* fix linting

* fix sorting of imports

* fix black linting

* added .isort.cfg so .pre-commit can see pyproject.toml

---------

Co-authored-by: Odinson <bpoulav@gmail.com>
Co-authored-by: tosoham <todrsoham@gmail.com>
tosoham added a commit to Srimoyee2005/StarkFinder that referenced this pull request Aug 30, 2025
* feat: add /generate endpoint with tests

* Update base.py

* Update conftest.py

* fix testing

* fix linting

* fix sorting of imports

* fix black linting

* added .isort.cfg so .pre-commit can see pyproject.toml

---------

Co-authored-by: Odinson <bpoulav@gmail.com>
Co-authored-by: tosoham <todrsoham@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

(feat: py-be):POST /generate API route

3 participants